chrootarchive: don't create parent dirs outside of chroot
chrootarchive: don't create parent dirs outside of chroot

If chroot is used with a special root directory then create
destination directory within chroot. This works automatically
already due to extractor creating parent paths and is only
used currently with cp where parent paths are actually required
and error will be shown to user before reaching this point.

Signed-off-by: Tonis Tiigi <c2470c48b2d3312d61f94f18d3a1cd113d1915ad@gmail.com>
(cherry picked from commit 52d285184068998c22632bfb869f6294b5613a58)
Signed-off-by: Brian Goff <dc73d0991b982a8303e713ef531a313af77e242a@gmail.com>
(cherry picked from commit 80f1169eca587305759829e626cebd2a434664f6)
Signed-off-by: Sebastiaan van Stijn <64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@gone.nl>

gnailuy/docker,konstruktoid/docker-upstream,konstruktoid/docker-upstream,gnailuy/docker,jthelin/docker,moby/moby,gnailuy/docker,yosifkit/docker,Ramzec/docker,bearstech/moby,moby/moby,trebonian/docker,jameszhan/docker,vdemeester/docker,yosifkit/docker,moul/docker,mahak/docker,bearstech/moby,bearstech/moby,yosifkit/docker,trebonian/docker,moul/docker,flavio/docker,nalind/docker,jthelin/docker,jameszhan/docker,trebonian/docker,vdemeester/docker,docker/docker,mahak/docker,nawawi/docker,Mokolea/docker,Mokolea/docker,Ramzec/docker,flavio/docker,jimjag/docker,jimjag/docker,nawawi/docker,moby/moby,nawawi/docker,nawawi/docker,thaJeztah/docker,cpuguy83/docker,docker/docker,mahak/docker,vdemeester/docker,konstruktoid/docker-upstream,nalind/docker,bearstech/moby,thaJeztah/docker,jimjag/docker,jameszhan/docker,jimjag/docker,konstruktoid/docker-upstream,moby/moby,gnailuy/docker,Ramzec/docker,mahak/docker,yosifkit/docker,Mokolea/docker,Ramzec/docker,moul/docker,flavio/docker,cpuguy83/docker,nalind/docker,cpuguy83/docker,trebonian/docker,thaJeztah/docker,moul/docker,docker/docker,flavio/docker,nalind/docker,cpuguy83/docker,Mokolea/docker,thaJeztah/docker