Am Freitag, 3. April 2015, 12:26:05 schrieb Thomas Liske:
> Re,
Re,
> On 04/03/2015 10:24 AM, Martin Steigerwald wrote:
> >> (4.20.0-rc6 wins against 4.20.0 which is expected since -rc6 could also
> >> be a usual CONFIG_LOCALVERSION string)
> >
> > Hmmm, but when I have a 4.20.0 final release compiled needrestart would
> > treat it as older? That doesn´t make much sense for me.
> >
> > I think ideally it would use the same ordering as the boot manager. And
> > grub2 definately puts 4.20.0 about 4.20.0-rc6.
>
> thanks for pointing me on grub's regex-hack in
> /usr/share/grub/grub-mkconfig_lib. I've ported the regex to needrestart
> and the kernel ordering should now be the same:
>
> $VAR1 = [
> '4.20.0',
> '4.20.0-rc6-tp520-btrfs-trim+',
> '4.19.0-foo-tp540-btrfs-trim+',
> '4.19.0-foo-rc6-tp544-btrfs-trim+',
> '4.19.0',
> '4.19.0-rc6-tp520-btrfs-trim+',
> '4.10',
> '4.9',
> '4.4.0-foo',
> '4.4.0',
> '4.0.0',
> '4.0.0-rc6-tp520-btrfs-trim+',
> '4.0',
> '3.19.3-a7-tp521-btrfs-trim+',
> '3.19.3',
> '3.19.3-rc6-tp521-btrfs-trim+',
> '3.19.3-rc6-tp520-btrfs-trim+',
> '3.19.0-rc7-tp520+',
> '3.10',
> '3.9',
> '3.3',
> '2.6',
> ''
> ];
>
>
> Thanks & HTH
I tested needrestart again and I still get:
Newer kernel available
The currently running kernel version is 4.0.1-tp520-btrfs-trim-norace+ which
is not the expected kernel version 3.18.0-tp520.
Restarting the system to load the new kernel will not be handled
automatically, so you should consider rebooting.
needrestart 2.0-2
Ah, okay, I see that change is not yet in. Will remove it again until an
update appears, unless its possible to disable the kernel check.
Ciao,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]