systemd-boot-update: condition on UEFI

Our boot loader logic only supports UEFI, hence let's condition the
updater on it.
This commit is contained in:
Lennart Poettering
2026-06-24 13:05:34 +02:00
parent 942283288d
commit be1643b549
+2 -2
View File
@@ -10,9 +10,9 @@
[Unit] [Unit]
Description=Automatic Boot Loader Update Description=Automatic Boot Loader Update
Documentation=man:bootctl(1) Documentation=man:bootctl(1)
ConditionPathExists=!/etc/initrd-release
DefaultDependencies=no DefaultDependencies=no
ConditionPathExists=!/etc/initrd-release
ConditionFirmware=uefi
After=local-fs.target After=local-fs.target
Before=sysinit.target systemd-update-done.service Before=sysinit.target systemd-update-done.service
Conflicts=shutdown.target Conflicts=shutdown.target