From 449b8443b91d135f412fd5d6a8f74563feb01bdd Mon Sep 17 00:00:00 2001 From: "min7.choi" Date: Mon, 2 May 2016 17:27:12 +0900 Subject: [PATCH] Fix arch-type of emulator issue [Issue] http://suprem.sec.samsung.net/jira/browse/TSAM-2677 http://suprem.sec.samsung.net/jira/browse/TSAM-2675 [Problem] there is not /usr/lib64 directory [Solution] Changed the arch-type in download-provider.spec file [Verify] gbs build success Change-Id: I726cd469cff0423b8b78c95eb30ec06d816019f3 Signed-off-by: min7.choi --- .gbs.conf | 19 +++++++++++++++++++ build_wareable.sh | 2 ++ packaging/download-provider.spec | 6 +++--- 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100755 build_wareable.sh diff --git a/.gbs.conf b/.gbs.conf index 334e144..90f701e 100755 --- a/.gbs.conf +++ b/.gbs.conf @@ -258,3 +258,22 @@ url = http://download.tizen.org/snapshots/tizen/base/latest/repos/arm64/packages url = http://download.tizen.org/snapshots/tizen/mobile/latest/repos/arm64-wayland/packages/ +############################################### +# +# Tizen v3.0 for wearable (arm-wayland), Mirroring Server for HQ developers +# + +[profile.wearable] +obs = obs.tizen_v3.0 +repos = repo.public_3.0_base_arm_mirror, repo.wearable +buildroot = ~/GBS-ROOT-3.0-Wearable-arm-wayland + +[repo.public_3.0_base_arm_mirror] +url = http://10.113.63.117/snapshots/base/latest/repos/arm/packages/ + +[repo.wearable] +#url = http://10.113.63.117/snapshots/mobile/latest/repos/target-TM1/packages/ +url = http://165.213.149.200/download/public_mirror/tizen/wearable/tizen-wearable_20160326.2/repos/target-circle/packages +user = blinkbot +passwdx = QlpoOTFBWSZTWd0JOhUAAACBAABgIAAhAIIjF3JFOFCQ3Qk6FQ== + diff --git a/build_wareable.sh b/build_wareable.sh new file mode 100755 index 0000000..49b20bc --- /dev/null +++ b/build_wareable.sh @@ -0,0 +1,2 @@ +#!/bin/bash +gbs -c .gbs.conf build -P profile.wearable -A armv7l --include-all diff --git a/packaging/download-provider.spec b/packaging/download-provider.spec index f4c1803..eab9991 100755 --- a/packaging/download-provider.spec +++ b/packaging/download-provider.spec @@ -99,10 +99,10 @@ Description: Download the contents in background (development files) -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\ -DBIN_INSTALL_DIR:PATH=%{_bindir} \\\ -DLIB_INSTALL_DIR:PATH=%{_libdir} \\\ - %ifarch armv7l i586 \ - -DLIB_AGENT_PATH="/usr/lib/libdownloadagent2.so" \\\ - %else \ + %ifarch aarch64 \ -DLIB_AGENT_PATH="/usr/lib64/libdownloadagent2.so" \\\ + %else \ + -DLIB_AGENT_PATH="/usr/lib/libdownloadagent2.so" \\\ %endif \ -DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \\\ -DPKG_NAME=%{name} \\\ -- 2.7.4