Alain Knaff wrote: > hmmm, but on a second glance, there seems to be indeed an issue. When > compiling it a _second time_, compilation will "succeed" but produce a > bad kernel because the first attempt left an empty > usr/initramfs_data.cpio.bz2 . > > I'll look into it this evening, probably a case of "bad" failure > recovery in the Makefile. > Took me slightly longer than promised, attached is the patch. It changes/fixes three things: 1. Fix a bug in decompress.c : only scanned until the first non-configured compressor (with disastrous result if that was gzip) 2. Fix a bug in gen_initramfs_list.sh : in case of failure, it left indeed an empty output file behind, messing up the next make. 3. Make builtin initramfs compression configurable Regards, Alain