]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
suppress modprobe errors on builtins (credits to Kay Sievers)
authorAmadeusz Żołnowski <aidecoe@aidecoe.name>
Wed, 13 Oct 2010 17:39:14 +0000 (19:39 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 15 Oct 2010 07:52:45 +0000 (09:52 +0200)
Install /lib/modules/$kv/modules.builtin.bin to suppress modprobe error
messages saying module was not found, while it's built-in.

Credits go to Kay Sievers who enlighten us about meaning of this cool
file.

modules.d/90kernel-modules/install

index 9810d1218c1902deda12efb418a19812f02ff37c..863ffac11e4dbcf8bab0bbec270c7a4d9f7c5142 100755 (executable)
@@ -4,3 +4,4 @@
 [ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
 dracut_install $(find /etc/modprobe.d/ -type f -name '*.conf')
 inst_hook cmdline 01 "$moddir/parse-kernel.sh"
+inst "$srcmods/modules.builtin.bin"