On Mon, Jan 23, 2017 at 3:56 PM, Ed Greshko <ed.greshko@greshko.com> wrote:

On 01/24/17 04:49, Richard Shaw wrote:

On Mon, Jan 23, 2017 at 1:22 PM, Ed Greshko <ed.greshko@greshko.com> wrote:
I don't see a need for adding dkms support either.  But the akmods method does need
enhancement.

1.  Yes, users reboot before kmod is built.  Then they panic when they have a flashing
cursor as it is being built on reboot.  So, there needs to be either an inhibitor as you
mention and/or a way to inform the user on reboot that the kmod is being built.

I'll have to see about building a test package but I think I may have achieved this using systemd-inhibit within the akmodsposttrans service...

I don't know how the "systemd-inhibit" works.  If it simply prevents the completion of the dnf or packaged update until the kmod is built that would be fine.

Nothing to do with DNF, haven't found a solution to that one yet. It inhibits shutdown/reboot until the command completes. I need to test it with a fake setup perhaps /usr/bin/sleep 3600 and see if I get any kind of GUI prompt about what is going on, it does have some command line options I assume are used to display to the user.

Thanks,
Richard