+++ /dev/null
-#!/bin/bash
-
-SCRIPT_PATH=$(readlink -m ${0})
-SCRIPT_DIR=${SCRIPT_PATH%/*}
-ROOT_DIR=${SCRIPT_DIR}/..
-
-DEBUG_ON=0
-COVERAGE_ON=0
-
-for ARG in $*
-do
- echo $ARG
- if [ "DEBUG" = $ARG ];then
- DEBUG_ON=1
- echo 'DEBUG ON'
- fi
-done
-
-cd $ROOT_DIR
-
-#init git repo for GBS
-git init
-git add .
-git commit -m "commit needed for GBS"
-
-# trap ctrl-c and call ctrl_c()
-trap cleanup INT
-
-function cleanup() {
- rm -rf ${ROOT_DIR}/.git
- exit 0
-}
-
-gbs --conf ${SCRIPT_DIR}/gbs.conf build -P profile.Main2017_KantM -A armv7l --include-all --threads 1 --define '__debug_install_post %{nil}' --define 'debug_package %{nil}' \
- --define 'DEBUG '$DEBUG_ON
-
-
-#remove temporary files
-cleanup
--- /dev/null
+#!/bin/bash
+
+SCRIPT_PATH=$(readlink -m ${0})
+SCRIPT_DIR=${SCRIPT_PATH%/*}
+
+${SCRIPT_DIR}/build.sh 2 $*
+++ /dev/null
-#!/bin/bash
-
-SCRIPT_PATH=$(readlink -m ${0})
-SCRIPT_DIR=${SCRIPT_PATH%/*}
-ROOT_DIR=${SCRIPT_DIR}/..
-
-for ARG in $*
-do
- echo $ARG
- if [ "DEBUG" = $ARG ];then
- DEBUG_ON=1
- echo 'DEBUG ON'
- fi
-done
-
-cd $ROOT_DIR
-
-#init git repo for GBS
-git init
-git add .
-git commit -m "commit needed for GBS"
-
-# trap ctrl-c and call ctrl_c()
-trap cleanup INT
-
-function cleanup() {
- rm -rf ${ROOT_DIR}/.git
- exit 0
-}
-
-gbs --conf ${SCRIPT_DIR}/gbs.conf build -A aarch64 --include-all --threads 1 --define '__debug_install_post %{nil}' --define 'debug_package %{nil}' \
- --define 'DEBUG '$DEBUG_ON
-
-#remove temporary files
-cleanup
--- /dev/null
+#!/bin/bash
+
+SCRIPT_PATH=$(readlink -m ${0})
+SCRIPT_DIR=${SCRIPT_PATH%/*}
+
+${SCRIPT_DIR}/build.sh 1 $*
--- /dev/null
+#!/bin/bash
+
+SCRIPT_PATH=$(readlink -m ${0})
+SCRIPT_DIR=${SCRIPT_PATH%/*}
+
+${SCRIPT_DIR}/build.sh 0 $*
--- /dev/null
+#!/bin/bash
+
+if [ -z "$1" ]; then
+ DEVICE=0
+else
+ DEVICE=$1
+fi
+
+case $DEVICE in
+ 0) PROFILE=profile.tzmb_3.0_TM2 ; TARGET_ARCH=aarch64 ; GTEST_TYPE="main" ;;
+ 1) PROFILE=profile.tzmb_3.0_TM1 ; TARGET_ARCH=armv7l ; GTEST_TYPE="main" ;;
+ 2) PROFILE=profile.Main2017_KantM ; TARGET_ARCH=armv7l ; GTEST_TYPE="mock" ;;
+ ?) echo "error: unknown DEVICE number"; exit 1 ;;
+esac
+
+SCRIPT_PATH=$(readlink -m ${0})
+SCRIPT_DIR=${SCRIPT_PATH%/*}
+ROOT_DIR=${SCRIPT_DIR}/..
+
+for ARG in $*
+do
+ echo $ARG
+ if [ "DEBUG" = $ARG ];then
+ DEBUG_ON=1
+ echo 'DEBUG ON'
+ fi
+done
+
+cd $ROOT_DIR
+
+#init git repo for GBS
+git init
+git add .
+git commit -m "commit needed for GBS"
+
+# trap ctrl-c and call ctrl_c()
+trap cleanup INT
+
+function cleanup() {
+ rm -rf ${ROOT_DIR}/.git
+ exit 0
+}
+
+gbs --conf ${SCRIPT_DIR}/gbs.conf build -P ${PROFILE} -A ${TARGET_ARCH} --include-all --threads 1 \
+ --define '__debug_install_post %{nil}' --define 'debug_package %{nil}' \
+ --define 'DEBUG '$DEBUG_ON --define 'GTEST '$GTEST_TYPE
+
+#remove temporary files
+cleanup
#!/bin/bash
-SCRIPT_PATH="$(readlink -m ${0})"
-CONTROL_DIR="${SCRIPT_PATH%/*/*}/scripts"
-GBS_ROOT=~/GBS_ROOT_3.0
+SCRIPT_PATH=$(readlink -m ${0})
+SCRIPT_DIR=${SCRIPT_PATH%/*}
-TARGET_ARCH=armv7l
-
-GBS_RPMS_DIR=${GBS_ROOT}/local/repos/Main2017_KantM/${TARGET_ARCH}/RPMS
-
-sdb root on
-sdb shell mount -o remount,rw /
-sdb shell "id"
-
-RPMS_TO_PUSH="${GBS_RPMS_DIR}/nwmanager-*.rpm"
-sdb push ${RPMS_TO_PUSH} /tmp/
-
-sdb shell "rpm -Uvi --nodeps --force --replacefiles /tmp/nwmanager-*.rpm"
-
-sdb shell "/usr/apps/network-manager/test"
+${SCRIPT_DIR}/deploy.sh 2 $*
--- /dev/null
+#!/bin/bash
+
+SCRIPT_PATH=$(readlink -m ${0})
+SCRIPT_DIR=${SCRIPT_PATH%/*}
+
+${SCRIPT_DIR}/deploy.sh 1 $*
#!/bin/bash
-SCRIPT_PATH="$(readlink -m ${0})"
-CONTROL_DIR="${SCRIPT_PATH%/*/*}/scripts"
-GBS_ROOT=~/GBS_ROOT_3.0
+SCRIPT_PATH=$(readlink -m ${0})
+SCRIPT_DIR=${SCRIPT_PATH%/*}
-TARGET_ARCH=aarch64
-
-GBS_RPMS_DIR=${GBS_ROOT}/local/repos/tizen_phone_arm64_3_0/${TARGET_ARCH}/RPMS
-
-sdb root on
-sdb shell mount -o remount,rw /
-sdb shell "id"
-
-RPMS_TO_PUSH="${GBS_RPMS_DIR}/nwmanager-*.rpm"
-sdb push ${RPMS_TO_PUSH} /tmp/
-
-sdb shell "rpm -Uvi --nodeps --force --replacefiles /tmp/nwmanager-*.rpm"
-
-sdb shell "/usr/apps/network-manager/test"
+${SCRIPT_DIR}/deploy.sh 0 $*
--- /dev/null
+#!/bin/bash
+
+if [ -z "$1" ]; then
+ DEVICE=0
+else
+ DEVICE=$1
+fi
+
+case $DEVICE in
+ 0) BUILD_ROOT=GBS_ROOT_3.0_TM2 ; PROFILE=tzmb_3.0_TM2 ; TARGET_ARCH=aarch64 ;;
+ 1) BUILD_ROOT=GBS_ROOT_3.0_TM1 ; PROFILE=tzmb_3.0_TM1 ; TARGET_ARCH=armv7l ;;
+ 2) BUILD_ROOT=GBS_ROOT_3.0 ; PROFILE=Main2017_KantM ; TARGET_ARCH=armv7l ;;
+ ?) echo "error: unknown DEVICE number"; exit 1 ;;
+esac
+
+SCRIPT_PATH="$(readlink -m ${0})"
+CONTROL_DIR="${SCRIPT_PATH%/*/*}/scripts"
+
+GBS_RPMS_DIR=~/${BUILD_ROOT}/local/repos/Main2017_KantM/${TARGET_ARCH}/RPMS
+
+sdb root on
+sdb shell mount -o remount,rw /
+
+RPMS_TO_PUSH="${GBS_RPMS_DIR}/nwmanager-*.rpm"
+sdb shell rm -r /tmp/nm/
+sdb shell mkdir /tmp/nm/
+sdb push ${RPMS_TO_PUSH} /tmp/nm/
+
+sdb shell "rpm -Uvi --nodeps --force --replacefiles /tmp/nm/nwmanager-*.rpm"
+
+sdb shell "/usr/apps/network-manager/test"
#profile = profile.Main2017_KantM
profile = profile.tizen_phone_arm64_3_0
+[obs.tizen_org]
+url = https://api.tizen.org
+
[obs.tizentv]
url = https://168.219.241.169/api
user = obs_viewer
passwdx = QlpoOTFBWSZTWRLL1vsAAASLgCEgAACSIJmAIAAxA0DQKZMGnqnmfEjRAP8XckU4UJASy9b7
+#############################################z KantM
+
[repo.base_Main2017]
url=http://10.103.211.119/tizen-rsa/tizen-3.0-base-main2017/standard/latest/repos/base/armv7l/packages/
[repo.local_Main2017]
repos = repo.product_Main2017_KantM, repo.base_Main2017, repo.local_Main2017
buildroot = ~/GBS_ROOT_3.0
-[obs.tizen_3.0]
-url = https://api.tizen.org
+############################################# Profile [profile.tzmb_3.0_TM2]
+[profile.tzmb_3.0_TM2]
+obs = obs.tizen_org
+repos = repo.tzmb_3.0_TM2_base, repo.tzmb_4.0_unified
+buildroot = ~/GBS_ROOT_3.0_TM2
-[repo.base.tizen_3.0_arm64]
-url = http://download.tizen.org/snapshots/tizen/base/latest/repos/arm64/packages/
+[repo.tzmb_3.0_TM2_base]
+url = http://download.tizen.org/snapshots/tizen/base/tizen-base_20170421.1/repos/arm64/packages/
+[repo.tzmb_4.0_unified]
+url = http://download.tizen.org/snapshots/tizen/unified/tizen-unified_20170421.3/repos/standard/packages/
+
+
+############################################# Profile [profile.tzmb_3.0_TM1]
+
+[profile.tzmb_3.0_TM1]
+obs = obs.tizen_org
+repos = repo.tzmb_3.0_TM1_base, repo.tzmb_3.0_TM1
+buildroot = ~/GBS_ROOT_3.0_TM1
+
+[repo.tzmb_3.0_TM1_base]
+url = http://download.tizen.org/snapshots/tizen/base/latest/repos/arm/packages/
+[repo.tzmb_3.0_TM1]
+url = http://download.tizen.org/snapshots/tizen/3.0-mobile/tizen-3.0-mobile_20170420.2/repos/arm-wayland/packages/
-[repo.tizen_3.0_arm64]
-#url = http://download.tizen.org/snapshots/tizen/mobile/latest/repos/arm64-wayland/packages/
-url = http://download.tizen.org/snapshots/tizen/unified/latest/repos/standard/packages/
-[profile.tizen_phone_arm64_3_0]
-obs = obs.tizen_3.0
-repos = repo.base.tizen_3.0_arm64, repo.tizen_3.0_arm64
-buildroot = ~/GBS_ROOT_3.0