summaryrefslogtreecommitdiff
path: root/mkimage.sh
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-03-16 11:25:35 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-03-16 11:25:35 +0000
commit5c52cf732a36232a9d20fc70943aefea3b7c9781 (patch)
treec68ea5fa3d25431fff4284de94b28cf9c7238fe8 /mkimage.sh
parent87c07470ad1d37841dcb594c53715ea3518bd4e9 (diff)
downloadmorph-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-xmkimage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkimage.sh b/mkimage.sh
index be56d455..87092c2b 100755
--- a/mkimage.sh
+++ b/mkimage.sh
@@ -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.