Parcourir la source

create_device - add preserve owner (mysql issue)

Émile Morel il y a 10 ans
Parent
commit
67688401df
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      olinux/create_device.sh

+ 1 - 1
olinux/create_device.sh

@@ -107,7 +107,7 @@ if [ -d ${DEB_DIR} ] ; then
   cp -ar ${DEB_DIR}/* $MNT/
 else
   # Assume that is a tarball file
-  tar xvf ${DEB_DIR} -C $MNT/ .
+  tar --same-owner --preserve-permissions -xvf ${DEB_DIR} -C $MNT/ .
 fi
 sync