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

custom kernel not triggering update-initramfs



I cannot get my custom kernel to trigger an update-initramfs, it runs
an auto-remove script from postinst.d but doesn't seem to even try
running /etc/kernel/postinst.d/initramfs-tools.  Anyone know how to
fix this?

during
lb chroot_install-packages install

I get this

Setting up linux-image-3.16-4-amd64 (3) ...

 Hmm. There is a symbolic link /lib/modules/3.16-4-amd64/build
 However, I can not read it: No such file or directory
 Therefore, I am deleting /lib/modules/3.16-4-amd64/build


 Hmm. The package shipped with a symbolic link /lib/modules/3.16-4-amd64/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/3.16-4-amd64/source

Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal
3.16-4-amd64 /boot/vmlinuz-3.16-4-amd64

and then no initrd is made

lb binary_linux-image
P: Begin install linux-image...
cp: cannot stat ‘chroot/boot/initrd.img-*’: No such file or directory


Reply to: