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.
Created attachment 336162 [details, diff] Patch to splash_geninitramfs: adds a configurable compression method
And? This problem was here (#417375). Find global difff's?.
*** This bug has been marked as a duplicate of bug 417375 ***