From: Cong Wang <xiyou.wangcong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: nfs: install modprobe config file
Date: Wed, 11 Jul 2012 06:39:07 +0000 (UTC) [thread overview]
Message-ID: <jtj72b$g4h$1@dough.gmane.org> (raw)
In-Reply-To: 4FFD1B89.7060208@redhat.com
On Wed, 11 Jul 2012 at 06:22 GMT, Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
>
> Hmm... that modprobe.d conf file should have been already copied to the initramfs:
>
> modules.d/90kernel-modules/module-setup.sh: dracut_install $(find -L
> /etc/modprobe.d/ -maxdepth 1 -type f -name '*.conf')
>
> Oh.. I see ... it's /lib/modprobe.d and not /etc/modprobe.d
Yeah, should consider /lib/modprobe.d as well:
diff --git a/modules.d/90kernel-modules/module-setup.sh
b/modules.d/90kernel-modules/module-setup.sh
index 8822fa7..a9b9637 100755
--- a/modules.d/90kernel-modules/module-setup.sh
+++ b/modules.d/90kernel-modules/module-setup.sh
@@ -78,6 +78,7 @@ install() {
local _f i
[ -f /etc/modprobe.conf ] && dracut_install /etc/modprobe.conf
dracut_install $(find -L /etc/modprobe.d/ -maxdepth 1 -type f -name '*.conf')
+ [ -d /lib/modprobe.d ] && dracut_install $(find -L /lib/modprobe.d/ -maxdepth 1 -type f -name '*.conf')
inst_hook cmdline 01 "$moddir/parse-kernel.sh"
inst_simple "$moddir/insmodpost.sh" /sbin/insmodpost.sh
}
next prev parent reply other threads:[~2012-07-11 6:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-11 5:08 nfs: install modprobe config file Dave Young
[not found] ` <20120711050818.GA10940-je1gSBvt1Td3da3rpXeqgR/sF2h8X+2i0E9HWUfgJXw@public.gmane.org>
2012-07-11 6:22 ` Harald Hoyer
2012-07-11 6:39 ` Cong Wang [this message]
2012-07-11 6:44 ` Dave Young
[not found] ` <4FFD1B89.7060208-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-07-11 6:42 ` Dave Young
[not found] ` <4FFD205E.8050005-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2012-07-11 7:31 ` Harald Hoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='jtj72b$g4h$1@dough.gmane.org' \
--to=xiyou.wangcong-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox