setup-targetfs-nfs: Modify script to search for tisdk-default-image
PATCH 1/1 setup-targetfs-nfs: Modify script to search for tisdk-default-image
The tisdk-rootfs-image has been renamed to tisdk-default-image. Modify the script to search for the renamed default rootfs so the customer can pick the preferred rootfs to be installed.
--- setup-targetfs-nfs.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
setup-targetfs-nfs.sh +5 -5
@@ -59,19 +59,19 @@ extract_fs() { fstar="" while [ -z "$fstar" ] do - numfs=`ls $cwd/../filesystem | grep "tisdk.*rootfs" | grep 'tar.xz' | grep -n '' | grep '2:' | awk {'print $1'}` + numfs=`ls $cwd/../filesystem | grep "tisdk.*rootfs\|tisdk.*default" | grep 'tar.xz' | grep -n '' | grep '2:' | awk {'print $1'}` if [ -n "$numfs" ] then echo echo "Multiple filesystems found." - ls --sort=size $cwd/../filesystem | grep "tisdk.*rootfs" | grep 'tar.xz' | grep -n '' | awk {'print " " , $1'} + ls --sort=size $cwd/../filesystem | grep "tisdk.*rootfs\|tisdk.*default" | grep 'tar.xz' | grep -n '' | awk {'print " " , $1'} echo - read -p "Enter Number of rootfs Tarball: [1] " fsnum + read -p "Enter Number of rootfs Tarball: [1 or 2] " fsnum [ -n "$fsnum" ] || fsnum=1 echo - fstar=`ls --sort=size $cwd/../filesystem | grep "tisdk.*rootfs" | grep 'tar.xz' | grep -n '' | grep "^$fsnum:" | cut -c3- | awk {'print$1'}` + fstar=`ls --sort=size $cwd/../filesystem | grep "tisdk.*rootfs\|tisdk.*default" | grep 'tar.xz' | grep -n '' | grep "^$fsnum:" | cut -c3- | awk {'print$1'}` else - fstar=`ls $cwd/../filesystem | grep "tisdk.*rootfs" | grep 'tar.xz' | awk {'print $1'}` + fstar=`ls $cwd/../filesystem | grep "tisdk.*rootfs\|tisdk.*default" | grep 'tar.xz' | awk {'print $1'}` fi if [ -z "$fstar" ] then
Signature · 1 line
2.17.1
meta-arago / na / 20220216073539.25993-1-a-m1
PRC Results: FAIL
=========================================================
check-yocto-patches: FAIL
=========================================================
Patches
----------------------------------------
FAIL - [meta-arago][tisdk-setup-scripts][master][PATCH] setup-targetfs-nfs: Modify script to search for tisdk-default-image
ERROR: Invalid branch specifier: "tisdk-setup-scripts". (META-3)
patch:36
Subject: [meta-arago][tisdk-setup-scripts][master][PATCH] setup-targetfs-nfs: Modify script to search for tisdk-default-image
WARN: Missing Signed-off-by by sender in commit message. (SIGNED-OFF-BY-2)
patch