Almost working...custom kernel with local apt repository as recommended in manual
I have built custom kernel, pushed it to the local apt repository and
the kernel installs successfully. However, in the binary linux image
state, I get an error regarding missing initrd-*.
After digging deeper, the initrd is only generated if the
/etc/kernel/postinst.d/initramfs-tools script exists during the kernel
install. However, when building the live image, the custom kernel is
installed before *initramfs-tools* package (which is where the
/etc/kernel/...) scripts come from.
Any ideas on why the order is not as it should be?