mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Add a new optional boolean argument 'keepdirlink' to tar_in that passes --keep-directory-symlink to tar. This preserves existing symlinks to directories when extracting, which is important for usrmerge systems where /lib is a symlink to /usr/lib. Without this option, extracting a tarball containing lib/modules/... to / would replace the /lib symlink with a real directory, breaking the system. Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
11 KiB
11 KiB