Browse Source

create_device - add preserve owner (mysql issue)

Émile Morel 10 years ago
parent
commit
67688401df
1 changed files with 1 additions and 1 deletions
  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