On Tue, Oct 11, 2005 at 03:09:05AM +0200, Thiemo Seufer wrote:
> 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.

I guess this could be a candidate for a sarge-update, depending
on how the fix pans out.

-- 
Horms


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

Reply via email to