On Sat, 14 Apr 2018 15:07:28 -0000 Grant Edwards wrote:
> On 2018-04-14, francis.montag...@inria.fr <francis.montag...@inria.fr> 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@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to