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

Bug 453034

Summary: media-gfx/splashutils - splash_geninitramfs only supports gzip
Product: Gentoo Linux Reporter: Vince C. <vincent.cadet>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to splash_geninitramfs: adds a configurable compression method

Description Vince C. 2013-01-19 20:28:08 UTC
Genkernel supports many compress methods (e.g. xz, bzip2, lzop...) while splash_geninitramfs only supports gzip (hardcoded). This patch makes compression type an argument to splash_geninitramfs.

Reproducible: Always

Steps to Reproduce:
1. Use genkernel to create a ramdisk (defaults to using xz)
2. Use splash_geninitramfs to add a theme, for instance
Actual Results:  
The initramfs is truncated, eventually making the system unbootable.

Expected Results:  
No error, proper ramdisk file.

I use genkernel and splash_geninitramfs in a custom script to embed two themes in my ramdisk file. Only lately did I notice genkernel 3.4.x uses xz by default, making splash_geninitramfs unable to edit ramdisk files. My machine didn't boot right after that. So I decided to hack splash_geninitramfs and make compression method configurable.
Comment 1 Vince C. 2013-01-19 20:29:34 UTC
Created attachment 336162 [details, diff]
Patch to splash_geninitramfs: adds a configurable compression method
Comment 2 AlexOmskiy 2013-01-30 12:01:21 UTC
And?
This problem was here (#417375).
Find global difff's?.
Comment 3 Pacho Ramos gentoo-dev 2013-02-03 09:29:10 UTC

*** This bug has been marked as a duplicate of bug 417375 ***