Design goals
Don’t overwrite global configuration files like
/etc/initramfs-tools/initramfs.confand similar as this can lead to problems like newer package versions trying to upgrade the file./etc/initramfs-tools/conf.dand other*.ddirectories are preferred and used for this.If additional kernel modules need to be loaded in the initramfs then this functionally should be added to the debops-contrib.kernel_module role. Note that all modules listed in
/etc/initramfs-tools/modulesare force loaded as can be read in/usr/sbin/mkinitramfs. An initramfs hook should be used instead of touching the/etc/initramfs-tools/modulesfile.