Pushed to master.

Thank you,

Jake

On 12/10/2019 1:50 PM, Denys Dmytriyenko wrote:
Signed-off-by: Denys Dmytriyenko <de...@ti.com>
Suggested-by: Andreas Dannenberg <dannenb...@ti.com>
---
  setup-targetfs-nfs.sh | 7 ++++---
  1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/setup-targetfs-nfs.sh b/setup-targetfs-nfs.sh
index 60817ca..b6f679f 100644
--- a/setup-targetfs-nfs.sh
+++ b/setup-targetfs-nfs.sh
@@ -80,19 +80,20 @@ extract_fs() {
      done
me=`whoami`
+    my_group=`id -gn $me`
      sudo mkdir -p $1
      check_status
      sudo tar xJf $cwd/../filesystem/$fstar -C $1
      check_status
-    sudo chown $me:$me $1
+    sudo chown $me:$my_group $1
      check_status
-    sudo chown -R $me:$me $1/home $1/usr $1/etc $1/lib $1/boot
+    sudo chown -R $me:$my_group $1/home $1/usr $1/etc $1/lib $1/boot
      check_status
# Opt isn't a standard Linux directory. First make sure it exist.
      if [ -d $1/opt ];
      then
-            sudo chown -R $me:$me $1/opt
+            sudo chown -R $me:$my_group $1/opt
              check_status
      fi
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to