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"