Bug 11329

Summary: Enable rpm packaging to include the netronome linux firmware into a noarch package
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ng, Wei Tee <wei.tee.ng>
Component: kernelAssignee: Ng, Wei Tee <wei.tee.ng>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Medium CC: alex.kanavin, rebecca.swee.fun.chang, sgw, tom.zanussi
Version: 2.3   
Target Milestone: 2.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Error log message none

Description Ng, Wei Tee 2017-04-11 08:24:26 UTC
Created attachment 3706 [details]
Error log message

Encounter a bitbake error message when update the SRCREV of linux-firmware_git.bb file to latest HEAD of linux-firmware source tree.

The latest HEAD: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=b14134583c2a15d4404695f72cb523daedb877ab

In local.conf, add the IMAGE_INSTALL_append = " linux-firmware"

The attachment here is the error message that I captured.
Comment 1 Alexander Kanavin 2017-04-11 08:30:14 UTC
Re-assigning to wei tee ng; if you are unable to make progress, let me know.
Comment 2 Ng, Wei Tee 2017-04-11 09:33:29 UTC
(In reply to comment #1)
> Re-assigning to wei tee ng; if you are unable to make progress, let me know.

I would appreciate if you can give some heads up on how to resolve this by
having a linux-firmware-netronome separate recipe. Thank you.
Comment 3 Alexander Kanavin 2017-04-11 09:52:29 UTC
You copy/rename existing recipe, and instead of deleting metronome firmware, you delete everything else, and remove inherit allarch. The recipe will be arch-specific but at least the firmware will be provided.

But I guess this bug isn't really about that; it's about fixing the issue in rpm source code which would allow overriding the check/error.
Comment 4 Ng, Wei Tee 2017-05-18 00:55:56 UTC
Merged in oe-core 6aaff392d703183d19192e2d171e10a92f259c65