[arch-general] [mkinitcpio] keeping modules added by install file

Mauro Santos registo.mailling at gmail.com
Mon Nov 9 19:20:41 UTC 2015

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.

Mauro Santos

More information about the arch-general mailing list