>> The attached patch introduces update_initramfs=never which skips >> initramfs generation even when the kernel is upgraded. Please consider >> accepting it in a future upload.
Hi, this patch would also help in situations where the kernel needs an initrd, but it is build completely decoupled from the rootfs. This includes building UKI images for embedded boards, as well as dm-verity / dm-crypt protected rootfs. There, the checksum of the rootfs container needs to be encoded into the initramfs, hence the initramfs cannot be generated as part of the rootfs build. > > I already split initramfs-tools into two binary packages precisely so > that you can have the tools installed without automatically building an > initramfs for every installed kernel. (Although that was actually done > to allow coexistence with dracut.) The use-case from above should be considered orthogonal to the inter package dependencies. If we had conf.d style support for the update- initramfs.conf, we had a perfect solution for this use-case: - After debootstrapping, add a config file with update_initramfs=never to the conf.d folder - install rootfs, no matter if packages depend on initramfs-tools or not, the initrd will not be generated - after rootfs generation, create the initrd either with debian tooling, dracut or any other mechanism. Is there a chance that such a patch would be accepted by Debian? Best regards, Felix Moessbauer Siemens AG

