Bug#333220: doesn't install: Internal Error: Could not find image (/boot/vmlinuz-2.4.27-xxs1500)

2005-10-10 Thread Martin Michlmayr
Package: kernel-image-2.4.27-xxs1500
Version: 2.4.27-11.040815-2
Severity: grave

kernel-image-2.4.27-xxs1500 doesn't install.  It seems kernel-package
is confused as to the name of the kernel.

Setting up kernel-image-2.4.27-xxs1500 (2.4.27-11.040815-2) ...
Internal Error: Could not find image (/boot/vmlinuz-2.4.27-xxs1500)
dpkg: error processing kernel-image-2.4.27-xxs1500 (--install):
 subprocess post-installation script returned error exit status 2

vs

-rw-r--r--   1 root root 6963004 2005-10-07 23:53 vmlinux-2.4.27-xxs1500

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#333220: doesn't install: Internal Error: Could not find image (/boot/vmlinuz-2.4.27-xxs1500)

2005-10-10 Thread Thiemo Seufer
reassign 333220 kernel-package 9.008
severity 333220 important
tags 333220 patch
thanks

Martin Michlmayr wrote:
 Package: kernel-image-2.4.27-xxs1500
 Version: 2.4.27-11.040815-2
 Severity: grave
 
 kernel-image-2.4.27-xxs1500 doesn't install.  It seems kernel-package
 is confused as to the name of the kernel.
 
 Setting up kernel-image-2.4.27-xxs1500 (2.4.27-11.040815-2) ...
 Internal Error: Could not find image (/boot/vmlinuz-2.4.27-xxs1500)
 dpkg: error processing kernel-image-2.4.27-xxs1500 (--install):
  subprocess post-installation script returned error exit status 2
 
 vs
 
 -rw-r--r--   1 root root 6963004 2005-10-07 23:53 vmlinux-2.4.27-xxs1500

This seems to be some deficiency in kernel-package.
/usr/share/kernel-package/rules defines for xxs1500

kimage := vmlinux.srec
...
kimagedest = $(INT_IMAGE_DESTDIR)/vmlinux-$(version)

and the same kimage value is put in the package postinst. But later
in the postinst

# Paranoid check to make sure that the correct value is put in there
if(! $kimage) { $kimage = vmlinuz; } # Hmm. empty
elsif ($kimage =~ m/^b?zImage$/o) { $kimage = vmlinuz; } # these produce 
vmlinuz
elsif ($kimage =~ m/^[iI]mage$/o) { my $nop = $kimage;   }
elsif ($kimage =~ m/^vmlinux$/o)  { my $nop = $kimage;   }
else  { $kimage = vmlinuz; } # Default

the default of vmlinuz is chosen, which leads to the vmlinux/vmlinuz
mismatch noted above.


Thiemo


--- image.postinst.old  2005-10-11 03:04:09.0 +0200
+++ image.postinst  2005-10-11 03:07:05.0 +0200
@@ -233,6 +233,7 @@ if(! $kimage) { $kim
 elsif ($kimage =~ m/^b?zImage$/o) { $kimage = vmlinuz; } # these produce 
vmlinuz
 elsif ($kimage =~ m/^[iI]mage$/o) { my $nop = $kimage;   }
 elsif ($kimage =~ m/^vmlinux$/o)  { my $nop = $kimage;   }
+elsif ($kimage =~ m/^vmlinux.srec$/o) { kimage = vmlinux; }
 else  { $kimage = vmlinuz; } # Default
 
 $ENV{KERNEL_ARCH}=$kernel_arch if $kernel_arch;


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Processed: Re: Bug#333220: doesn't install: Internal Error: Could not find image (/boot/vmlinuz-2.4.27-xxs1500)

2005-10-10 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 reassign 333220 kernel-package 9.008
Bug#333220: doesn't install: Internal Error: Could not find image 
(/boot/vmlinuz-2.4.27-xxs1500)
Bug reassigned from package `kernel-image-2.4.27-xxs1500' to `kernel-package'.

 severity 333220 important
Bug#333220: doesn't install: Internal Error: Could not find image 
(/boot/vmlinuz-2.4.27-xxs1500)
Severity set to `important'.

 tags 333220 patch
Bug#333220: doesn't install: Internal Error: Could not find image 
(/boot/vmlinuz-2.4.27-xxs1500)
There were no tags set.
Tags added: patch

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]