summaryrefslogtreecommitdiffstats
path: root/recipes-sota/ostree-kernel-initramfs
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2020-06-15 08:27:36 +0000
committerStefan Agner <stefan.agner@toradex.com>2020-06-15 09:42:19 +0000
commit01645b4d6d55845235d0fb709c54027d41c01260 (patch)
tree09cd4e8c80d4128fa82e888c607cbbb90293d8c9 /recipes-sota/ostree-kernel-initramfs
parent5d46e7dfa4430e9958fb651a3fb5b4d6148df0b0 (diff)
downloadmeta-updater-01645b4d6d55845235d0fb709c54027d41c01260.tar.gz
aktualizr: make use of boot-complete.target
From the systemd.special(7) man page section boot-complete.target: This target is intended as generic synchronization point for services that shall determine or act on whether the boot process completed successfully. Let's make use of the target. Since aktualizr by default marks a boot as successful, we consider aktualizr.service a service which needs to be executed on successful boot (hence after the boot-complete.target). This allows to declare a service as crucial by simply ordering it before the boot-complete.target. The systemd example service systemd-boot-check-no-failures.service can serve as an example. This change does not add any service dependency by default as boot-complete.target by default does not has any extra dependencies. Note that rebooting in the failure case is not handled by this mechanism. This can be added by using FailureAction. Boot assessement infrastructure got introduced with systemd 240. See also: https://systemd.io/AUTOMATIC_BOOT_ASSESSMENT/ Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'recipes-sota/ostree-kernel-initramfs')
0 files changed, 0 insertions, 0 deletions