[kernel] r13347 - in dists/sid/linux-2.6/debian: . templates/temp.image.plain
Maximilian Attems
maks at alioth.debian.org
Mon Apr 6 09:50:08 UTC 2009
Author: maks
Date: Mon Apr 6 09:50:07 2009
New Revision: 13347
Log:
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
Modified:
dists/sid/linux-2.6/debian/changelog
dists/sid/linux-2.6/debian/templates/temp.image.plain/postinst
Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog Mon Apr 6 06:20:48 2009 (r13346)
+++ dists/sid/linux-2.6/debian/changelog Mon Apr 6 09:50:07 2009 (r13347)
@@ -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 at debian.org> for the patch. (closes: #518231)
+
+ -- maximilian attems <maks at debian.org> Mon, 06 Apr 2009 11:19:29 +0200
+
linux-2.6 (2.6.29-2) unstable; urgency=low
[ Martin Michlmayr ]
Modified: dists/sid/linux-2.6/debian/templates/temp.image.plain/postinst
==============================================================================
--- dists/sid/linux-2.6/debian/templates/temp.image.plain/postinst Mon Apr 6 06:20:48 2009 (r13346)
+++ dists/sid/linux-2.6/debian/templates/temp.image.plain/postinst Mon Apr 6 09:50:07 2009 (r13347)
@@ -983,7 +983,7 @@
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 {
More information about the Kernel-svn-changes
mailing list