From: hyokeun Date: Fri, 26 Jan 2018 04:54:44 +0000 (+0900) Subject: ABS check 64 bit rootstraps for mobile profile X-Git-Url: http://review.tizen.org/git/?p=scm%2Fmeta%2Fabs.git;a=commitdiff_plain;h=92d7e1a45f788f0031991199f62dc0383bd8f64b ABS check 64 bit rootstraps for mobile profile Change-Id: I1bad31951f0da7c013415e4f48e4f4912a8aea0e --- diff --git a/build.template b/build.template index c0c244c..d0adeeb 100644 --- a/build.template +++ b/build.template @@ -12,6 +12,7 @@ PARALLEL_JOBS=__PARALLEL_JOBS__ TMP_DIR=${BUILD_ROOT}/${PACKAGE}/_abs_out_ SDK_CMD=$SDK_PATH/tools/ide/bin/tizen LIST="$SDK_CMD list rootstrap " +BUILD_TYPE=__BUILD_TYPE__ chown -R build:build $SHARE_ROOT su - build -c "cp $SHARE_ROOT/abs/abs $BUILD_ROOT/" @@ -64,6 +65,17 @@ for rs in $rs_list; do fi done +#FIXME: Check 64 bit rootstraps for mobile profile. +if [[ $BUILD_TYPE = "SUBMIT" ]] && [[ $PROFILE = "mobile" ]]; then + if [[ $rs_list = *"device64"* ]] && [[ $rs_list = *"emulator64"* ]]; then + echo "OK. $PROFILE have 64 bit rootstraps" + else + echo "NOK. $PROFILE does not have 64 bit rootstraps" + echo "$PROFILE does not have 64 bit rootstraps" > ${SHARE_ROOT}/build_rootstrap_check.log + _clear 9 + fi +fi + _clear 0 su - build -c "df -hT"