Re: Kernel version in hooks

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



Am 17.05.2016 um 14:51 schrieb Damjan Georgievski:
On 17 May 2016 at 14:50, Damjan Georgievski <gdamjan@xxxxxxxxx> wrote:
Can I somehow get the kernel version from a hook invoked on the kernel
package update?
by version I mean the "4.5.4-1-ARCH" kernel version, not the "4.5.4-1"
package version

How do you detect the kernel package upgrade? If you use the path to its modules, you can add "NeedsTargets" to the hook and extract the version from the module path just like the dkms hook does it.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux