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]
|
[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
|
||||||
|
|||||||
Reference in New Issue
Block a user