SPEC-3811: Use a different rootfs image for h3ulcb-nogfx build 35/26135/1
authorCorentin LABBE <clabbe@baylibre.com>
Fri, 5 Mar 2021 09:35:23 +0000 (09:35 +0000)
committerCorentin LABBE <clabbe@baylibre.com>
Fri, 5 Mar 2021 09:35:23 +0000 (09:35 +0000)
For all branches (except jellyfish/halibut), h3ulcb-nogfx build based
boards should now use the agl-demo-platform-crosssdk-h3ulcb.ext4.xz
rootfs image.

Change-Id: I57de9c9c20f97c7b36fab053ca4b6d6e0ad7fecd
Bug-AGL: SPEC-3811
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
jjb/common/include-agl-header.sh

index b8b12ec..f925f56 100644 (file)
@@ -154,14 +154,16 @@ fi
 set -x
 # h3ulcb-nogfx means no graphic drivers
 if test x"h3ulcb-nogfx" = x"$MACHINE"; then
-    export TARGETIMAGE=${TARGETIMAGEnogfx}
+    if [ "${TARGETBRANCH}" = 'jellyfish' -o "${TARGETBRANCH}" = 'halibut' ];then
+        export TARGETIMAGE=${TARGETIMAGEnogfx}
+        export TARGETSDKIMAGE="agl-image-ivi-crosssdk"
+    fi
     if test x"master" = x"${TARGETBRANCH}" -o x"koi" = x"${TARGETBRANCH}"; then
         export TARGETFEATURES="${TARGETFEATURESnogfx} agl-refhw-h3"
     else
         export TARGETFEATURES="${TARGETFEATURESnogfx}"
     fi
     export TARGETMACHINE="h3ulcb"
-    export TARGETSDKIMAGE="agl-image-ivi-crosssdk"
 fi
 set +x