core/manager: pass soft-reboot count to generators
authorMike Yuan <me@yhndnzj.com>
Sat, 28 Sep 2024 13:54:42 +0000 (15:54 +0200)
committerMike Yuan <me@yhndnzj.com>
Mon, 14 Oct 2024 23:18:26 +0000 (01:18 +0200)
commit86eb3a8fdd4d11ddf3155743b05d3b2a2044009d
tree0bcdff8b7858a9c7dae1430fd530767715658f43
parentde41622bf39cfa01c8d79e2898b15e8a9bbc89ab
core/manager: pass soft-reboot count to generators

soft-reboot allows switching into a different root/installation,
i.e. potentially invalidate settings from kernel cmdline and such.
Let's hence inform generators about soft-reboots.
man/systemd.generator.xml
src/core/manager.c