kiwi-el8/test
Marcus Schäfer d29ba29276 Add restrictions to Path.remove_hierarchy
When an iso file is used as repo, this iso will be loop mounted on
the host and bind mounted into the image root as long as the image
builds. When the mount is released a recursive cleanup of the complete
path happens. This is done by calling Path.remove_hierarchy. However
if a sub path of the mount path contains a system root directory
which is mandatory for the Linux root system it is not allowed
to be deleted even if it is empty at the time of the mount cleanup.
Thus this patch adds a lookup for protected directory names and
only runs the recursive deletion as long as no protected member
is part of the path. This fixes bsc#1080301
2018-02-12 15:56:49 +01:00
..
data Added runtime check for dracut-kiwi-oem-dump 2018-01-17 14:59:59 +01:00
unit Add restrictions to Path.remove_hierarchy 2018-02-12 15:56:49 +01:00