Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453034 - media-gfx/splashutils - splash_geninitramfs only supports gzip
Summary: media-gfx/splashutils - splash_geninitramfs only supports gzip
Status: RESOLVED DUPLICATE of bug 417375
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-19 20:28 UTC by Vince C.
Modified: 2013-02-03 09:29 UTC (History)
0 users

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


Attachments
Patch to splash_geninitramfs: adds a configurable compression method (splash_geninitramfs-compress.patch,2.68 KB, patch)
2013-01-19 20:29 UTC, Vince C.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***