diff options
-rwxr-xr-x | recipes-images/images/files/library/genext3fs.sh | 2 |
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" |