Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 857711 - ${compression} variable not defined in gen_initramfs.sh line 2308
Summary: ${compression} variable not defined in gen_initramfs.sh line 2308
Status: UNCONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-11 21:37 UTC by Daniel Saunders
Modified: 2022-07-11 21:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Saunders 2022-07-11 21:37:37 UTC
Hello,

The ${compression:-none} variable on line 2308 of gen_initramfs.sh is never defined and as a result always defaults to 'none'. This creates issues when the initramfs image is compressed as U-Boot will interpret the file created with mkimage as uncompressed. It appears this variable existed before a refactor was done several years ago, but no longer does. Nowhere in genkernel's current source do I find it ever defined.

Thanks,

- Dan