From 8e88abc06049e7928b0fb910d13a24dedaac8553 Mon Sep 17 00:00:00 2001 From: Pawel Wieczorek Date: Wed, 1 Jun 2016 16:02:18 +0200 Subject: [PATCH] Add bluetooth-tools-no-firmware preference Due to different firmware requirements between targets for Tizen:Common profile (mainly ARTIK boards), virtual dependencies were introduced in Bluetooth projects packaging. New virtual dependency "bluetooth-scripts" replaces "bluetooth-tools-no-firmware" and is provided by five packages: * bluetooth-tools-no-firmware (platform/core/connectivity/bluetooth-tools) * bluetooth-firmware-sprd-TM1 (platform/adaptation/bluetooth-firmware-sprd) * bluetooth-firmware-bcm (platform/adaptation/bluetooth-firmware-bcm) * bluetooth-firmware-bcm-artik (platform/adaptation/bluetooth-firmware-bcm) * bluetooth-firmware-bcm-exynos3250 (platform/adaptation/bluetooth-firmware-bcm) This way dependency is not strictly set during at package build, but it is resolved during image creation (according to target device needs). This change together with dependency replacement in profiles' meta repositories allows to successfully build platform images. It does not, however, satisfy OBS package dependency resolver. According to OBS documentation [1], all ambiguities in package dependencies are treated as errors in order to provide reproducible builds. Since Bluetooth scripts are not used as build requirement for any project whatsoever (these are only useful on actual target devices), original "bluetooth-tools-no-firmware" was chosen to conform with OBS rules. [1] http://openbuildservice.org/help/manuals/obs-reference-guide/cha.obs.build_config.html Change-Id: I63463ebc58f9295c9b95b3ee3476c366ac4e522e Signed-off-by: Pawel Wieczorek --- Tizen:Common/_config | 1 + Tizen:IVI/_config | 1 + Tizen:Mobile/_config | 1 + Tizen:TV/_config | 1 + Tizen:Wearable/_config | 1 + 5 files changed, 5 insertions(+) diff --git a/Tizen:Common/_config b/Tizen:Common/_config index 03e5293..9c49111 100644 --- a/Tizen:Common/_config +++ b/Tizen:Common/_config @@ -24,6 +24,7 @@ FileProvides: /usr/sbin/groupadd pwdutils Prefer: util-linux Prefer: libtapi-devel Prefer: libpci-devel +Prefer: bluetooth-tools-no-firmware Prefer: vconf-buxton Prefer: vconf-buxton-devel diff --git a/Tizen:IVI/_config b/Tizen:IVI/_config index 54bc335..d8a5fea 100644 --- a/Tizen:IVI/_config +++ b/Tizen:IVI/_config @@ -19,6 +19,7 @@ FileProvides: /usr/sbin/groupadd shadow-utils Prefer: util-linux Prefer: libtapi-devel Prefer: libpci-devel +Prefer: bluetooth-tools-no-firmware ############################# profile definition ############################### diff --git a/Tizen:Mobile/_config b/Tizen:Mobile/_config index 0a40890..c7f57b3 100755 --- a/Tizen:Mobile/_config +++ b/Tizen:Mobile/_config @@ -21,6 +21,7 @@ FileProvides: /usr/sbin/groupadd shadow-utils Prefer: util-linux Prefer: libtapi-devel Prefer: libpci-devel +Prefer: bluetooth-tools-no-firmware ############################# profile definition ############################### diff --git a/Tizen:TV/_config b/Tizen:TV/_config index 5880c19..499d9e7 100755 --- a/Tizen:TV/_config +++ b/Tizen:TV/_config @@ -22,6 +22,7 @@ FileProvides: /usr/sbin/groupadd shadow-utils Prefer: util-linux Prefer: libtapi-devel Prefer: libpci-devel +Prefer: bluetooth-tools-no-firmware ############################# profile definition ############################### diff --git a/Tizen:Wearable/_config b/Tizen:Wearable/_config index 53ec0f9..8f8510c 100755 --- a/Tizen:Wearable/_config +++ b/Tizen:Wearable/_config @@ -21,6 +21,7 @@ FileProvides: /usr/sbin/groupadd shadow-utils Prefer: util-linux Prefer: libtapi-devel Prefer: libpci-devel +Prefer: bluetooth-tools-no-firmware ############################# profile definition ############################### -- 2.7.4