Re: [PATCH 2/2] suppress modprobe errors on builtins (credits to Kay Sievers)

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

 



On 10/13/2010 07:39 PM, Amadeusz ÅoÅnowski wrote:
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 |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules.d/90kernel-modules/install b/modules.d/90kernel-modules/install
index 9810d12..863ffac 100755
--- a/modules.d/90kernel-modules/install
+++ b/modules.d/90kernel-modules/install
@@ -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"

pushed
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux