mirror of
https://github.com/systemd/systemd.git
synced 2026-11-06 05:17:24 +00:00
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:
1 parent
942283288d
commit
be1643b549
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user