Re: Detecting change in running kernel version between reboots

2024-07-22 Thread George at Clug
On Monday, 22-07-2024 at 02:35 Joe wrote: > On Sun, 21 Jul 2024 12:43:58 +0100 > Mike wrote: > > > Hi all, > > > > I have a TV card in one of my boxen, which requires a kernel module to > > be built. I've got that all nicely scripted and so I can kick it off > > with relative ease. > > > >

Re: Detecting change in running kernel version between reboots

2024-07-21 Thread Joe
On Sun, 21 Jul 2024 12:43:58 +0100 Mike wrote: > Hi all, > > I have a TV card in one of my boxen, which requires a kernel module to > be built. I've got that all nicely scripted and so I can kick it off > with relative ease. > > The issue is detecting when it needs to be done. ie after a chan

Re: Detecting change in running kernel version between reboots

2024-07-21 Thread eben
On 7/21/24 07:43, Mike wrote: Hi all, I have a TV card in one of my boxen, which requires a kernel module to be built. I've got that all nicely scripted and so I can kick it off with relative ease. The issue is detecting when it needs to be done. ie after a change in the running kernel. At t

Re: Detecting change in running kernel version between reboots

2024-07-21 Thread Dan Ritter
Mike wrote: > I have a TV card in one of my boxen, which requires a kernel module to > be built. I've got that all nicely scripted and so I can kick it off > with relative ease. > > The issue is detecting when it needs to be done. ie after a change in > the running kernel. At the moment, it's

Re: Detecting change in running kernel version between reboots

2024-07-21 Thread Nicolas George
Mike (12024-07-21): > 1) lsmod | grep > > I conceed that doesn't actually indicate the kernel has changed, just > that the kernel module is missing. However, so far, it being missing > has consistent indicated a kernel change and rebuilding the driver on a > false positive isn't really an issue

Re: Detecting change in running kernel version between reboots

2024-07-21 Thread Michael Kjörling
On 21 Jul 2024 12:43 +0100, from deb...@norgie.net (Mike): > I have a TV card in one of my boxen, which requires a kernel module to > be built. I've got that all nicely scripted and so I can kick it off > with relative ease. > I thought that I'd just run it past the hive mind and see if anyone ha

Detecting change in running kernel version between reboots

2024-07-21 Thread Mike
Hi all, I have a TV card in one of my boxen, which requires a kernel module to be built. I've got that all nicely scripted and so I can kick it off with relative ease. The issue is detecting when it needs to be done. ie after a change in the running kernel. At the moment, it's detected by the