Bug 12219

Summary: nothing provides linux-firmware-imx-sdma-license
Product: [Build System, Metadata & Runtime] OE-Core Reporter: jonathan.yong
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Medium+ CC: akuster, joshuagloe, meta.mr.watcher, meta.watcher, mikko.ylinen
Version: 2.4   
Target Milestone: 2.4 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description jonathan.yong 2017-10-11 23:40:54 UTC
I get an error while building an image:

ERROR: image-demo-1.0-r0 do_rootfs: Unable to install packages. Command '........./rootfs  --force_postinstall --prefer-arch-to-version   install rmc packagegroup-base-extended packagegroup-core-boot opkg psplash run-postinsts linux-firmware kernel-modules' returned 1:
Collected errors:
 * Solver encountered 1 problem(s):
 * Problem 1/1:
 *   - nothing provides linux-firmware-imx-sdma-license needed by linux-firmware-1:0.0+git0+a61ac5cf83-r0.all
 *
 * Solution 1:
 *   - do not ask to install a package providing linux-firmware

Here is the image recipe:
IMAGE_FEATURES += "splash"
LICENSE = "MIT"
inherit core-image
IMAGE_INSTALL += "kernel-modules linux-firmware"

Fixed by adding a line to linux-firmware_git.bb:
FILES_${PN}-imx-sdma-license = "${nonarch_base_libdir}/firmware/LICENSE.sdma_firmware"


Using Rocko oe-core 8ca61a5464743ff85b6d26886112750d6ddd13e0
Comment 1 Joshua Lock 2017-10-12 13:23:43 UTC
A patch has been submitted to resolve this error: 

https://patchwork.openembedded.org/patch/144800/
Comment 2 Armin Kuster 2017-10-14 02:01:37 UTC
issue still being seen in rocko and master.