summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-07 15:25:00 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-07 15:25:00 -0700
commita0af547a872633d12ad7bb4f0831bfa4e7296256 (patch)
tree716aadfd7eda85e1bf7d865b6163e8fd747679f0
parent4ed2b5e7b6948c52bc76c838ec765acdc8497b32 (diff)
parent427ab38e9d8144b185e53f29504df36d48277ac4 (diff)
downloadvyatta-cfg-system-a0af547a872633d12ad7bb4f0831bfa4e7296256.tar.gz
vyatta-cfg-system-a0af547a872633d12ad7bb4f0831bfa4e7296256.zip
Merge branch 'larkspur' of vm:git/vyatta-cfg-system into larkspur
-rwxr-xr-xscripts/install/install-image-existing2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-image-existing b/scripts/install/install-image-existing
index d35437ba..e8f723a0 100755
--- a/scripts/install/install-image-existing
+++ b/scripts/install/install-image-existing
@@ -125,7 +125,7 @@ if [ ! -f "$squash_img" ] || [ -z "$boot_files" ]; then
fi
target_squash=$REL_ROOT/$NEWVER.squashfs
cp -p $squash_img $target_squash >&/dev/null
-cp -dp $boot_files $REL_ROOT/ >&/dev/null
+cp --no-dereference --preserve=all $boot_files $REL_ROOT/ >&/dev/null
# mount copied squashfs
if ! try_mount "-o loop,ro $target_squash $READ_ROOT"; then