From: Andrew Morton <akpm@linux-foundation.org>
To: sd@sedf.de
Cc: bugzilla-daemon@bugzilla.kernel.org,
bugme-daemon@bugzilla.kernel.org, linux-kbuild@vger.kernel.org
Subject: Re: [Bugme-new] [Bug 14848] New: Kernel fails to boot if compressed with bzip2 or lzma
Date: Tue, 22 Dec 2009 15:49:35 -0800 [thread overview]
Message-ID: <20091222154935.5da4be37.akpm@linux-foundation.org> (raw)
In-Reply-To: <bug-14848-10286@http.bugzilla.kernel.org/>
(switched to email. Please respond via emailed reply-to-all, not via the
bugzilla web interface).
On Sun, 20 Dec 2009 01:46:05 GMT
bugzilla-daemon@bugzilla.kernel.org wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=14848
>
> Summary: Kernel fails to boot if compressed with bzip2 or lzma
> Product: Other
> Version: 2.5
> Kernel Version: 2.6.33-rc1
> Platform: All
> OS/Version: Linux
> Tree: Mainline
> Status: NEW
> Severity: normal
> Priority: P1
> Component: Other
> AssignedTo: other_other@kernel-bugs.osdl.org
> ReportedBy: sd@sedf.de
> Regression: Yes
>
>
> The kernel fails to boot if compressed with bzip2 or lzma, gzip works.
>
> Commit 4a2ff67c88211026afcbdbc190c13f705dae1b59 does:
>
>
> --- a/scripts/Makefile.lib
> +++ b/scripts/Makefile.lib
> @@ -208,7 +208,7 @@ cmd_gzip = (cat $(filter-out FORCE,$^) | gzip -f -9 > $@)
> || \
>
> # Bzip2 and LZMA do not include size in file... so we have to fake that;
> # append the size as a 32-bit littleendian number as gzip does.
> -size_append = /bin/echo -ne $(shell \
> +size_append = printf $(shell \
> dec_size=0; \
> for F in $1; do
> \
> fsize=$$(stat -c "%s" $$F); \
>
>
> This is wrong, because it calls the shell's builtin printf (instead
> /usr/bin/printf) which does not support the necessary arguments.
>
> At my machine (debian) "/bin/echo -ne" works.
>
Please send a tested, signed-off patch as per
Documentation/SubmittingPatches, thanks.
next parent reply other threads:[~2009-12-22 23:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-14848-10286@http.bugzilla.kernel.org/>
2009-12-22 23:49 ` Andrew Morton [this message]
2009-12-28 19:38 ` [PATCH] kbuild: really fix bzImage build with non-bash sh Jonathan Nieder
2010-01-04 13:48 ` Michal Marek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091222154935.5da4be37.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=bugme-daemon@bugzilla.kernel.org \
--cc=bugzilla-daemon@bugzilla.kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=sd@sedf.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.