[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <499DBCDD.90806@knaff.lu>
Date: Thu, 19 Feb 2009 21:11:09 +0100
From: Alain Knaff <alain@...ff.lu>
To: "H. Peter Anvin" <hpa@...or.com>
CC: Ingo Molnar <mingo@...e.hu>, Jan Engelhardt <jengelh@...ozas.de>,
the arch/x86 maintainers <x86@...nel.org>,
linux-kernel@...r.kernel.org
Subject: Re: tip: bzip2/lzma now in tip:x86/setup-lzma
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
View attachment "20090219.diff" of type "text/x-diff" (4919 bytes)
Powered by blists - more mailing lists