[oe-commits] Ross Burton : linux-firmware: make the main package depend on all sub-packages

git at git.openembedded.org git at git.openembedded.org
Fri Apr 5 17:21:06 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 644dfe0b13f68a04bdde67b5f1bf210bbe8ab918
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=644dfe0b13f68a04bdde67b5f1bf210bbe8ab918

Author: Ross Burton <ross.burton at intel.com>
Date:   Fri Apr  5 18:06:31 2013 +0100

linux-firmware: make the main package depend on all sub-packages

Whilst splitting out specific large firmware blobs is a good move for space
saving, it makes installing "all the firmware" tricky.

Make linux-firmware depend on all of the separated packages so that installing
that pulls in all of the sub-packages.

Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../linux-firmware/linux-firmware_git.bb           |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index 5ee3b73..ef036cf 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -162,3 +162,9 @@ ALTERNATIVE_linux-firmware-bcm4334 = "brcmfmac-sdio.bin"
 ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4334.bin"
 
 FILES_${PN} += "/lib/firmware/*"
+
+# Make linux-firmware depend on all of the split-out packages.
+python populate_packages_prepend () {
+    firmware_pkgs = oe.utils.packages_filter_out_system(d)
+    d.appendVar('RDEPENDS_linux-firmware', ' ' + ' '.join(firmware_pkgs))
+}





More information about the Openembedded-commits mailing list