[arch-general] [mkinitcpio] keeping modules added by install file
eschwartz93 at gmail.com
Mon Nov 9 20:42:10 UTC 2015
On 11/09/2015 02:20 PM, Mauro Santos wrote:
> I'm working on install and hook files for mkinitcpio and I'm adding some
> modules to the initramfs image with the install file.
> My problem is that the modules I add with the install file get removed
> when the autodetect hook runs.
> Is there any way to keep some modules when the autodetect hook runs as
> if they were defined in the MODULES array in mkinitcpio.conf?
> I know I'm seeing the expected behavior but I need some modules to be
> included in the initramfs even if they are not in use in the running
> system, and it would be nice to have the smallest initramfs as possible.
Well, you could install a custom mkinitcpio.conf and use it in the preset.
The custom mkinitcpio.conf can source the system one.
More information about the arch-general