Re: initramfs: kernel update adds unwanted driver?

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

 



You can also use lsinitrd to show the current files in any initramfs
and/or cat out the contents of single files you see in the initramfs.

On Sat, Apr 14, 2018 at 10:43 AM,  <Francis.Montagnac@xxxxxxxx> wrote:
>
> On Sat, 14 Apr 2018 15:07:28 -0000 Grant Edwards wrote:
>> 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
>
>> Thanks!  That looks like a good option.  I may prompt the user for
>> confirmation before doing that step in my driver install script -- how
>> likely is it that the admin has done something manually which that
>> script will undo?
>
> IMO it is really unlikely since there is many ways to hook the
> postrans action of the kernel-core RPM, ex:
>
>   /usr/lib/kernel/install.d/
>   /etc/kernel/install.d/
>   /etc/kernel/postinst.d/
>
> I use for example postinst.d for regenerating the grub.cfg with
> grub2-mkconfig.
>
> --
> francis
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
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