No description
  • Shell 92.8%
  • Makefile 7.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonas Theisen 3b801dcd7b kernel hooks: flag pending reboot after installing a new kernel
Ship a postinst.d hook that writes /run/reboot-required and records
the kernel package in /run/reboot-required.pkgs, similar to
the hooks shipped by unattended-upgrades on Debian and
update-notifier on Ubuntu. Tools like update-notifier or monitoring checks
can then notice that the newly installed kernel is not running yet
by checking the existance of this file.
See f.ex.: https://github.com/mvo5/unattended-upgrades/blob/master/unattended-upgrade#L867
and: https://git.launchpad.net/ubuntu/+source/update-notifier/tree/data/update-motd-reboot-required

Skip this when configuring the currently running kernel, as no reboot
is needed then.

Came up in https://forum.proxmox.com/threads/156352/

Signed-off-by: Jonas Theisen <[email protected]>
Link: https://lore.proxmox.com/[email protected]
2026-10-28 21:15:04 +01:00
debian bump version to 9.2.1 2026-10-20 20:46:24 +02:00
src kernel hooks: flag pending reboot after installing a new kernel 2026-10-28 21:15:04 +01:00
.gitignore add .gitignore file 2023-05-26 14:26:25 +02:00
Makefile buildsys: add PDM to upload target 2025-03-04 16:34:34 +01:00