Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 857711

Summary: ${compression} variable not defined in gen_initramfs.sh line 2308
Product: Gentoo Hosted Projects Reporter: Daniel Saunders <teamblast8>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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