Re: initramfs: kernel update adds unwanted driver?

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

 



On 2018-04-14, Francis.Montagnac@xxxxxxxx <Francis.Montagnac@xxxxxxxx> wrote:

> Thus, for the running kernel:
>
>   /bin/kernel-install add $(uname -r) /lib/$(uname -r)/vmlinuz
>
> It will regenerate the initramfs and eventually other things like the
> grub.cfg.
>
> I tested to add a /etc/dracut.conf.d/test.conf to omit a driver. It
> works: the driver is no more in the initramfs.

That mostly works: it omits the kernel module itself (which we'll call
"foo").  Howevr, it still includes in the initramfs the files
etc/modprobe.d/foo.conf and /etc/modules-load.d/foo.conf.

That doesn't seem to cause any real harm other than an annoying error
message in the syslog:

  Apr 16 05:00:19 beta systemd-modules-load[192]: Failed to find module 'foo'

I've been re-reading the dracut docs, and can't figure out how to tell
it to omit those files (I suspect the latter of the two is the
critical one).  I suppose I could remove those files, regenerate the
initramfs, then re-install them.

That's annoying. :/

-- 
Grant Edwards               grant.b.edwards        Yow! Look!  A ladder!
                                  at               Maybe it leads to heaven,
                              gmail.com            or a sandwich!
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux