summaryrefslogtreecommitdiff
path: root/recipes-images/images/files/library/genext3fs.sh
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-07-07 16:18:15 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2017-10-03 14:15:38 +0200
commit3ea215d6215bb3250fb4d810c8f78feaffb106d7 (patch)
tree392f8ca794c4530b5d0c1b1720b57732086f40fb /recipes-images/images/files/library/genext3fs.sh
parent9776575a1a4b243f3a80de22bd16ea6a9525912d (diff)
genext3fs.sh: fix copying of extened file attributes
As reported by our customer our current ext3 generation script lacks copying any extended file attributes as well e.g. as required for capabilities or ACLs. Reported-by: Felix Ruess <felix.ruess@roboception.de> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-images/images/files/library/genext3fs.sh')
-rwxr-xr-xrecipes-images/images/files/library/genext3fs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-images/images/files/library/genext3fs.sh b/recipes-images/images/files/library/genext3fs.sh
index 93c2b60..25f7a85 100755
--- a/recipes-images/images/files/library/genext3fs.sh
+++ b/recipes-images/images/files/library/genext3fs.sh
@@ -58,7 +58,7 @@ while [ "$MOUNTED" -eq "0" ] ; do
MOUNTED=`mount | grep -c "$MOUNTPOINT"`
done
#extract rootfs into the file
-sudo cp -rpP $SRCPATH/* $MOUNTPOINT
+sudo cp -a $SRCPATH/* $MOUNTPOINT
if [ "$?" -ne "0" ] ; then
$ECHO -e "\033[1mCopying the rootfs failed.\033[0m"
echo "Check for error messages from cp"