You are not logged in.

#1 2012-12-10 19:37:09

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

[SOLVED] New hook for the initramfs - modconf

Hello, after the recent update of mkinitcpio i realized a new hook was added to the default configuration: "modconf".
Currently i only use the "base" hook and load the necessary modules  like so:
MODULES="ahci sd_mod ext4 i915"
BINARIES="fsck fsck.ext4"
HOOKS="base"
This produces a decent initramfs.

Is it recommended to add the new "modconf" hook, and what is it good for?

Last edited by teateawhy (2012-12-10 20:05:28)

Offline

#2 2012-12-10 19:52:45

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: [SOLVED] New hook for the initramfs - modconf

Do a mkinitcpio -H modconf and find out.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#3 2012-12-10 20:04:50

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: [SOLVED] New hook for the initramfs - modconf

$ mkinitcpio -H modconf
==> Help for hook 'modconf':
This hook installs modprobe configuration files from /etc/modprobe.d and
/usr/lib/modprobe.d.

As i have a few configuration options in those directories, i added the hook now. The recommendation is to add "modconf" if you need the configuration options.
This hook might be a good candidate to merge into the "base" hook, because /usr/lib/modprobe.d contains configuration options on a fresh installation.

Offline

Board footer

Powered by FluxBB