powerpc fix installation of images
"The problem is that (a) the kernel's postinst uses debconf, which uses stdin and stdout for communication and forbids other junk from appearing there, and (b) the kernel's postinst calls update-initramfs, which outputs status information to stdout which debconf thinks is a command in its protocol and thus confuses any future real debconf commands. Since the kernel's postinst is the thing with special requirements due to using debconf, it should be the thing responsible for redirecting file descriptors around as necessary." -cjwatson svn path=/dists/sid/linux-2.6/; revision=13347
This commit is contained in:
parent
6bb42dd1cb
commit
bdb19873b1
|
@ -1,3 +1,10 @@
|
|||
linux-2.6 (2.6.29-3) UNRELEASED; urgency=low
|
||||
|
||||
* [powerpc] Pipe mkimage postinst call to stderr for debconf.
|
||||
Thanks Jordi Mallach <jordi@debian.org> for the patch. (closes: #518231)
|
||||
|
||||
-- maximilian attems <maks@debian.org> Mon, 06 Apr 2009 11:19:29 +0200
|
||||
|
||||
linux-2.6 (2.6.29-2) unstable; urgency=low
|
||||
|
||||
[ Martin Michlmayr ]
|
||||
|
|
|
@ -983,7 +983,7 @@ if ($initrd) {
|
|||
my $initrd_path = $realimageloc . "initrd.img-$version";
|
||||
my $ret = system("$ramdisk_cmd " .
|
||||
($mkimage ? "-m '$mkimage' " : "") .
|
||||
"-c -t -k $version");
|
||||
"-c -t -k $version >&2");
|
||||
if ($ret) {
|
||||
warn "$ramdisk_cmd failed to create initrd image.\n";
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue