Bug 12219 - nothing provides linux-firmware-imx-sdma-license
Summary: nothing provides linux-firmware-imx-sdma-license
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.4
Hardware: x86 Multiple
: Medium+ major
Target Milestone: 2.4 M4
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-10-11 23:40 UTC by jonathan.yong
Modified: 2017-10-17 10:08 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.