Re: [mkinitcpio] keeping modules added by install file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

-- 
Eli Schwartz


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux