From 9cc6ef9075f5e13ab5de60bca2e847de4f1832cf Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Fri, 16 Feb 2018 15:38:15 +0000 Subject: [PATCH] linux-firmware: Add wilwifi 8000c package back in pyro Change-type: patch Changelog-entry: Bring back the package which includes firmware for wilwifi 8000c Signed-off-by: Andrei Gherzan --- .../linux-firmware/linux-firmware_git.bbappend | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-resin-pyro/recipes-kernel/linux-firmware/linux-firmware_git.bbappend diff --git a/meta-resin-pyro/recipes-kernel/linux-firmware/linux-firmware_git.bbappend b/meta-resin-pyro/recipes-kernel/linux-firmware/linux-firmware_git.bbappend new file mode 100644 index 0000000000..df6085dfd9 --- /dev/null +++ b/meta-resin-pyro/recipes-kernel/linux-firmware/linux-firmware_git.bbappend @@ -0,0 +1,13 @@ +# Due to a bug in oe-core, the 8000c was removed completely. Make sure this is +# available in pyro by redefining it here. Rocko and master are unaffected. +# Ref.: http://lists.openembedded.org/pipermail/openembedded-core/2018-February/147508.html +python __anonymous() { + packages = d.getVar("PACKAGES", True) + if not packages: + return + for p in packages.split(): + if p == "linux-firmware-iwlwifi-8000c": + return + d.setVar("PACKAGES", packages + " linux-firmware-iwlwifi-8000c") +} +FILES_${PN}-iwlwifi-8000c = "${nonarch_base_libdir}/firmware/iwlwifi-8000C-*.ucode"