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