Re: [arch-general] Kernel version in hooks

2016-05-17 Thread Damjan Georgievski
On 17 May 2016 at 14:50, Damjan Georgievski wrote: > Can I somehow get the kernel version from a hook invoked on the kernel > package update? so I ended up with this (for now): https://gist.github.com/gdamjan/dd94057318f9c68327066068cacf99bc The reason was, I needed to run mkinitcpio by hand for

Re: [arch-general] Kernel version in hooks

2016-05-17 Thread Damjan Georgievski
>>> 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 "Needs

Re: [arch-general] Kernel version in hooks

2016-05-17 Thread ProgAndy
Am 17.05.2016 um 14:51 schrieb Damjan Georgievski: On 17 May 2016 at 14:50, Damjan Georgievski 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 detec

Re: [arch-general] Kernel version in hooks

2016-05-17 Thread Damjan Georgievski
On 17 May 2016 at 14:50, Damjan Georgievski 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 -- damjan

[arch-general] Kernel version in hooks

2016-05-17 Thread Damjan Georgievski
Can I somehow get the kernel version from a hook invoked on the kernel package update? -- damjan