* keystone platforms now have tisdk-server-extra rootfs tarball in addition
  to the tisdk-server rootfs tarball, while other platforms still have a
  single tisdk-server rootfs tarball. The keystone extra rootfs tarball is
  a super set of its base rootfs tarball, and it is provided for mounting
  over NFS.

  Adding the for loop here provides a simple solution to correctly extract
  the filesystem for NFS mounting for all the platforms.

Signed-off-by: Hongmei Gou <[email protected]>
---
 setup-targetfs-nfs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup-targetfs-nfs.sh b/setup-targetfs-nfs.sh
index d8d6805..b27f7c4 100644
--- a/setup-targetfs-nfs.sh
+++ b/setup-targetfs-nfs.sh
@@ -60,7 +60,7 @@ extract_fs() {
     me=`whoami`
     sudo mkdir -p $1
     check_status
-    sudo tar xzf $fstar -C $1
+    for i in $fstar; do sudo tar xzf $i -C $1;done
     check_status
     sudo chown $me:$me $1
     check_status
-- 
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to