Fix arch-type of emulator issue 02/68102/2
authormin7.choi <min7.choi@samsung.com>
Mon, 2 May 2016 08:27:12 +0000 (17:27 +0900)
committerMinseok Choi <min7.choi@samsung.com>
Mon, 2 May 2016 08:34:10 +0000 (01:34 -0700)
[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 <min7.choi@samsung.com>
.gbs.conf
build_wareable.sh [new file with mode: 0755]
packaging/download-provider.spec

index 334e144..90f701e 100755 (executable)
--- 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 (executable)
index 0000000..49b20bc
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/bash
+gbs -c .gbs.conf build -P profile.wearable -A armv7l --include-all
index f4c1803..eab9991 100755 (executable)
@@ -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} \\\