Bug 12461

Summary: IMAGE_TYPES cpio.lz4 isbroken
Product: [Build System, Metadata & Runtime] OE-Core Reporter: jonathan.yong
Component: coreAssignee: Maxin B. John <maxin.john>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher
Version: 2.4   
Target Milestone: 2.5 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: Backport 2.4.2
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description jonathan.yong 2018-01-02 02:57:28 UTC
CONVERSION_CMD_lz4 in openembedded-core/meta/classes/image_types.bbclass calls lz4 without -l, generating compressed initramfs incompatible with the kernel decompressor.

There is a CONVERSION_CMD_lz4_legacy with -l, but there seems to be no clear way to use it.
Comment 1 Ross Burton 2018-01-04 16:31:07 UTC
A reminder that bug 12149 is related.