build_inf_debian.sh: use stx build 23/9723/1
authorJackie Huang <jackie.huang@windriver.com>
Mon, 21 Nov 2022 06:52:35 +0000 (14:52 +0800)
committerJackie Huang <jackie.huang@windriver.com>
Mon, 21 Nov 2022 06:52:35 +0000 (14:52 +0800)
use stx build instead of stx shell

Issue-ID: INF-281

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Ia66a8e8c063c9729777e8d4ba5d32054baa1e796

scripts/build_inf_debian/build_inf_debian.sh

index 13e4ca8..31f205e 100755 (executable)
@@ -351,10 +351,12 @@ build_image () {
     RUN_CMD="stx repomgr list"
     run_cmd "repomgr list"
 
-    RUN_CMD="stx shell -c 'build-pkgs -a --parallel 10'"
+    #RUN_CMD="stx shell -c 'build-pkgs -a --parallel 10'"
+    RUN_CMD="stx build world"
     run_cmd "Build-pkgs"
 
-    RUN_CMD="stx shell -c 'build-image'"
+    #RUN_CMD="stx shell -c 'build-image'"
+    RUN_CMD="stx build image"
     run_cmd "Build ISO image"
 
     cp -f ${STX_LOCAL_DIR}/deploy/starlingx-intel-x86-64-cd.iso ${STX_PRJ_OUTPUT}/${ISO_INF_DEB}