diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-03-16 11:25:35 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-03-16 11:25:35 +0000 |
commit | 5c52cf732a36232a9d20fc70943aefea3b7c9781 (patch) | |
tree | c68ea5fa3d25431fff4284de94b28cf9c7238fe8 /mkimage.sh | |
parent | 87c07470ad1d37841dcb594c53715ea3518bd4e9 (diff) | |
download | morph-5c52cf732a36232a9d20fc70943aefea3b7c9781.tar.gz |
tar: add -h option to extraction
This should stop tar from replacing symbolic links with directories
and instead follow the symbolic links, extracting the files into
the linked directories
Diffstat (limited to 'mkimage.sh')
-rwxr-xr-x | mkimage.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -108,7 +108,7 @@ trap "umount $part; dummy_kpartx_delete $img" EXIT # Unpack all the strata that are to be installed. for stratum do - tar -C "$mp" -xf "$stratum" + tar -C "$mp" -xhf "$stratum" done # Configure fstab for the new system. |