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:
@@ -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