bluez4/5: Add EXCLUDE_FROM_WORLD = 1
authorSaul Wold <sgw@linux.intel.com>
Wed, 11 Sep 2013 21:38:01 +0000 (14:38 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Sep 2013 22:31:00 +0000 (23:31 +0100)
We can't build both recipes in the world build as there is a collision of package name
and PR values. Specificly the libasound-module-bluez which is the same in both goes
backwards from r5 (bluez4) -> r0 (bluez5) and the subpackage_metadata check fails:

ERROR: Recipe lib32-bluez5 is trying to change PR from 'r0' to 'r5'. This will cause do_package_write_* failures since the incorrect data will be used and they will be unable to find the right workdir.

[YOCTO #5165]

(From OE-Core rev: 3653500c7e5d365ddc2868d985c6001d40123672)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/bluez/bluez4.inc
meta/recipes-connectivity/bluez5/bluez5.inc

index b540622..e4f6834 100644 (file)
@@ -43,3 +43,4 @@ EXTRA_OECONF = "\
   --with-udevrulesdir=`pkg-config --variable=udevdir udev`/rules.d \
 "
 
+EXCLUDE_FROM_WORLD = "1"
index e5cb9e8..2e25d86 100644 (file)
@@ -82,3 +82,5 @@ FILES_${PN}-dbg += "\
 RDEPENDS_${PN}-testtools += "python python-dbus python-pygobject"
 
 SYSTEMD_SERVICE_${PN} = "bluetooth.service"
+
+EXCLUDE_FROM_WORLD = "1"