initramfs
The initramfs module is used to regenerate initramfs, which is the temporary file system loaded into RAM, as part of the early Linux startup process, used by many things happening during boot.
If you are trying to modify something related to the kernel or boot sequence (such as plymouth), but you don’t see any changes applied to the system, you’ll likely need to use this module.
You need to regenerate initramfs at least when doing any of the following:
- modifying
modprobe.dconfig files - modifying
modules-load.dconfig files - modifying
dracut.conf.dconfig files - customizing
plymouththeming - other unknown modifications
You only need to run the regeneration once per build, not separately for each modification requiring it. It is recommended to set this module as one of the last in your recipe, to ensure that initramfs regeneration will cover all the modifications done before it.
Example configuration
Section titled “Example configuration”type: initramfs