[kernel] r12829 - dists/trunk/linux-2.6/debian/templates/temp.image.plain
Maximilian Attems
maks at alioth.debian.org
Wed Feb 18 02:01:04 UTC 2009
Author: maks
Date: Wed Feb 18 02:01:03 2009
New Revision: 12829
Log:
plain image simplify postinst
we don't need there any notion of "$hostversion".
also reword error message.
Modified:
dists/trunk/linux-2.6/debian/templates/temp.image.plain/postinst
Modified: dists/trunk/linux-2.6/debian/templates/temp.image.plain/postinst
==============================================================================
--- dists/trunk/linux-2.6/debian/templates/temp.image.plain/postinst (original)
+++ dists/trunk/linux-2.6/debian/templates/temp.image.plain/postinst Wed Feb 18 02:01:03 2009
@@ -971,11 +971,9 @@
# The initrd symlink should probably be in the same dir that the
# symlinks are in
if ($initrd) {
- chomp (my $hostversion = `uname -r`);
my @ramdisklist;
@ramdisklist = find_inird_tool($ramdisk) if $ramdisk;
- die "Failed to find suitable ramdisk generation tool for kernel version \n" .
- "$version on running kernel $hostversion in $ramdisk\n"
+ die "Failed to find suitable initramfs generation tool in $ramdisk\n"
if $#ramdisklist < 0;
my $success = 0;
for $ramdisk_cmd (@ramdisklist) {
More information about the Kernel-svn-changes
mailing list