[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where does the update-initramfs hook get the kernel name from?



On 27/01/11 01:09, Ben Hutchings wrote:

 On Wed, 2011-01-26 at 19:50 +0000, Philip Ashmore wrote:

 [...]

 I just did an apt-get upgrade in Squeeze and one of the deferred hooks failed:

    Processing triggers for initramfs-tools ...

    /boot/initrd.img-26.32.5-amd64.squeeze does not exist. Cannot update.

 Where does the update-initramfs hook get the kernel name from?



 See<http://kernel-handbook.alioth.debian.org/ch-update-hooks.html>.



 Ben.

According to the docs you mentioned, the script gets supplied the kernel version from

"uname -r".

The output I get is "2.6.32-5-amd64", not "26.32.5-amd64.squeeze" as you see above,
so the documentation must be wrong.

Philip


Reply to: