DE-IBH / apt-dater

terminal-based remote package update manager
GNU General Public License v2.0
101 stars 24 forks source link

Check if latest kernel is running for custom kernels #37

Closed giner closed 10 years ago

giner commented 10 years ago

Currently apt-dater-host doesn't check if running kernel is the most recent if it recognized it as a custom kernel. Would be nice if apt-dater-host still produce this check so this would also for such distributions as Proxmox VE where kernel package names look like pve-kernel-$version.

liske commented 10 years ago

apt-dater-host is going to use needrestart for the kernel version/restart needed stuff.

giner commented 10 years ago

This is good but not yet in the stable repo: https://packages.debian.org/search?suite=all&searchon=names&keywords=needrestart

mxmxchere commented 10 years ago

this is also an issue because apt-dater recognizes the stock kernel of CentOS, OpenSUSE and Ubuntu as a custom kernel

liske commented 10 years ago

The custom kernel stuff will be dropped in apt-dater >1.0.0 completly. If apt-dater-host is able to run needrestart the kernel flag is based on needrestart's result. The old dection algorith is now obsolete.