Add bluetooth-tools-no-firmware preference 00/72600/4
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Wed, 1 Jun 2016 14:02:18 +0000 (16:02 +0200)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Thu, 9 Jun 2016 09:10:58 +0000 (11:10 +0200)
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 <p.wieczorek2@samsung.com>
Tizen:Common/_config
Tizen:IVI/_config
Tizen:Mobile/_config
Tizen:TV/_config
Tizen:Wearable/_config

index 03e5293..9c49111 100644 (file)
@@ -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
index 54bc335..d8a5fea 100644 (file)
@@ -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 ###############################
 
index 0a40890..c7f57b3 100755 (executable)
@@ -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 ###############################
 
index 5880c19..499d9e7 100755 (executable)
@@ -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 ###############################
 
index 53ec0f9..8f8510c 100755 (executable)
@@ -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 ###############################