Bug 12461 - IMAGE_TYPES cpio.lz4 isbroken
Summary: IMAGE_TYPES cpio.lz4 isbroken
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.5 M4
Assignee: Maxin B. John
QA Contact:
URL:
Whiteboard: Backport 2.4.2
Depends on:
Blocks:
 
Reported: 2018-01-02 02:57 UTC by jonathan.yong
Modified: 2018-03-20 04:07 UTC (History)
2 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 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.