Bug#459445: initramfs-tools: update-initramfs does not consider latest kernel by default
On Sun, Jan 06, 2008 at 07:50:02PM +0100, Julien Valroff wrote:
>
> Le dimanche 06 janvier 2008 à 19:18 +0100, maximilian attems a écrit :
> > > when running update-initramfs without specifying a kernel version (-k), the
> > > default version should be the latest kernel version (according to manpage).
> > >
> > > It is not in my case:
> > > $ ls /var/lib/initramfs-tools/
> > > 2.6.22-3-amd64 2.6.23-1-amd64
> > >
> > > $ ls /boot/initrd.*
> > > /boot/initrd.img-2.6.22-3-amd64 /boot/initrd.img-2.6.23-1-amd64
> > > /boot/initrd.img-2.6.22-3-amd64.bak /boot/initrd.img-2.6.23-1-amd64.bak
> >
> > please send in output of
> > ls -l /
>
> lrwxrwxrwx 1 root root 30 2007-10-31 21:19 initrd.img -> boot/initrd.img-2.6.22-3-amd64
> lrwxrwxrwx 1 root root 30 2007-10-20 08:53 initrd.img.old -> boot/initrd.img-2.6.23-1-amd64
> lrwxrwxrwx 1 root root 27 2007-10-31 21:19 vmlinuz -> boot/vmlinuz-2.6.22-3-amd64
> lrwxrwxrwx 1 root root 27 2007-10-20 08:53 vmlinuz.old -> boot/vmlinuz-2.6.23-1-amd64
>
> I think I now understand - but it is obscure for me why this is so as
> kernel 2.6.23 has been installed and configured after 2.6.22 (which is
> still present as a dependency for linux-image-2.6-amd64)
yep aboves is not an initramfs-tools bug, the symlinks are wrong.
> Cheers,
> Julien
bonne soiree
--
maks
Reply to: