You are not logged in.

#1 2011-12-12 22:41:08

egan
Member
From: Mountain View, CA
Registered: 2009-08-17
Posts: 273

Automatically Recompile AUR Module on Kernel Update?

I'm using acpi_call-git from the AUR to turn off my NVidia graphics card on my Optimus laptop.

It works great, but it breaks every time there is a kernel update.
I have to recompile and reinstall the package, and then reboot again.

Is there a more convenient way to get this done? I've tried recompiling before rebooting on a kernel update, but the compilation inevitably fails.

Any advice would be appreciated.

Offline

#2 2011-12-13 22:09:44

Dans564
Member
From: New Jersey, USA
Registered: 2011-02-04
Posts: 109

Re: Automatically Recompile AUR Module on Kernel Update?

yes there is a dkms version in the AUR.  http://aur.archlinux.org/packages.php?ID=54641
It will automatically recompile the module when a new kernel is installed. "dkms_autoinstaller" will need to be added to the DAEMONS array in /etc/rc.conf

Offline

#3 2011-12-14 02:44:28

egan
Member
From: Mountain View, CA
Registered: 2009-08-17
Posts: 273

Re: Automatically Recompile AUR Module on Kernel Update?

How exactly does dkms work as a daemon?

Offline

Board footer

Powered by FluxBB