Hi

>> Still broken in 12.012, had to generate initrd by hand (mkinitrd).
>
>         kernel-package no longer does initrd generation. User scripts
>  do.

Oh ok I always thought the (initial) initrd is included in the deb
package, but I see it's not.

>         Well, that piece of code is provided by the user. Well, what do
>  you have in /etc/kernel?
>       find /etc/kernel -type f -ls
>  Based on the answer to that, we might discover what needs to be
>  changed.

There are two files:
335214    4 -rwxr-xr-x   1 root     root          220 Feb 17 06:42
/etc/kernel/postrm.d/initramfs-tools
335224    4 -rwxr-xr-x   1 root     root          264 Feb 17 06:42
/etc/kernel/postinst.d/initramfs-tools

The postinst one contains

#!/bin/sh

# passing the kernel version is required
[ -z "$1" ] && exit 0

# kernel-package passes an extra arg; hack to not run under kernel-package
[ -z "$2" ] || exit 0

# we're good - create initramfs.  update runs do_bootloader
update-initramfs -c -t -k "$1"


No idea whether that is 100% correct. Is is the current
initramfs-tools in unstable.

Interestingly, the update-grub (or so) must have worked, because after
installation of the kernel image, the new kernel appeared in menu.lst
(albeit without initrd).

thanks
Alex



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to