diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-05-07 15:03:46 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-05-07 15:03:46 -0700 |
commit | 427ab38e9d8144b185e53f29504df36d48277ac4 (patch) | |
tree | b76e603ff88f434d36fd1d06acc2ea9dd1a7575a /scripts/install/install-image-existing | |
parent | c5fc79c7f9149bd81254c0b4826f78b1c7e02008 (diff) | |
download | vyatta-cfg-system-427ab38e9d8144b185e53f29504df36d48277ac4.tar.gz vyatta-cfg-system-427ab38e9d8144b185e53f29504df36d48277ac4.zip |
Preserve file attributes of root files
Want to preserve labels and other attributes
Diffstat (limited to 'scripts/install/install-image-existing')
-rwxr-xr-x | scripts/install/install-image-existing | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-image-existing b/scripts/install/install-image-existing index ce0e502d..c243fda6 100755 --- a/scripts/install/install-image-existing +++ b/scripts/install/install-image-existing @@ -108,7 +108,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 |