build_inf.sh: build yocto before centos 44/9644/1
authorJackie Huang <jackie.huang@windriver.com>
Wed, 9 Nov 2022 16:05:31 +0000 (00:05 +0800)
committerJackie Huang <jackie.huang@windriver.com>
Wed, 16 Nov 2022 00:40:49 +0000 (08:40 +0800)
Issue-ID: INF-283

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

scripts/build_inf.sh

index 4f43daf..9f092ef 100755 (executable)
@@ -160,6 +160,14 @@ if [ "$CI" = "true" ]; then
     get_debug_info
 fi
 
+msg_step="Yocto builds"
+echo_step_start
+
+RUN_CMD="${SCRIPT_YP} -w ${WORKSPACE_YP} ${DRYRUN} ${YP_ARGS}"
+run_cmd "Start Yocto builds"
+
+echo_step_end
+
 # dry-run is not supported yet for CentOS build
 if [ -z "${DRYRUN}" ]; then
     msg_step="CentOS builds"
@@ -174,11 +182,3 @@ if [ -z "${DRYRUN}" ]; then
 
     echo_step_end
 fi
-
-msg_step="CentOS builds"
-echo_step_start
-
-RUN_CMD="${SCRIPT_YP} -w ${WORKSPACE_YP} ${DRYRUN} ${YP_ARGS}"
-run_cmd "Start Yocto builds"
-
-echo_step_end