]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemd-boot-update: condition on UEFI
authorLennart Poettering <lennart@amutable.com>
Fri, 29 May 2026 13:40:45 +0000 (15:40 +0200)
committerLennart Poettering <lennart@amutable.com>
Wed, 24 Jun 2026 11:05:34 +0000 (13:05 +0200)
Our boot loader logic only supports UEFI, hence let's condition the
updater on it.

units/systemd-boot-update.service

index 9a4fbc1e715b5e0ffec27c8b354edfe98a35f498..4c829ad314953ecef525e5751cb475d310a6f7e2 100644 (file)
@@ -10,9 +10,9 @@
 [Unit]
 Description=Automatic Boot Loader Update
 Documentation=man:bootctl(1)
-ConditionPathExists=!/etc/initrd-release
-
 DefaultDependencies=no
+ConditionPathExists=!/etc/initrd-release
+ConditionFirmware=uefi
 After=local-fs.target
 Before=sysinit.target systemd-update-done.service
 Conflicts=shutdown.target