summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-07 15:00:38 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-07 15:00:38 -0700
commitc5fc79c7f9149bd81254c0b4826f78b1c7e02008 (patch)
tree6e5fc780a20b158c141463c71852611ffa7fb96e
parentfddfbe9ca26b542ee31ba7b281f892708fa1459f (diff)
downloadvyatta-cfg-system-c5fc79c7f9149bd81254c0b4826f78b1c7e02008.tar.gz
vyatta-cfg-system-c5fc79c7f9149bd81254c0b4826f78b1c7e02008.zip
Preserve file capablities and attributes during install-system
-rwxr-xr-xscripts/install-system2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-system b/scripts/install-system
index d17f0c2e..06deb0a3 100755
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -936,7 +936,7 @@ install_root_filesystem () {
exit 1
fi
- output=$(cp -pR /mnt/squashfs/* $rootfsdir/)
+ output=$(cp --preserve=all -R /mnt/squashfs/* $rootfsdir/)
status=$?
if [ "$status" != 0 ]; then