Skip to content

Commit

Permalink
units: fix typo in Condition in systemd-boot-system-token
Browse files Browse the repository at this point in the history
/lib/systemd/system/systemd-boot-system-token.service:20: Unknown key name 'ConditionPathExists|' in section 'Unit', ignoring

Follow-up for 0a1d8ac

(cherry picked from commit 0f6d54c)

Related: RHEL-16952
  • Loading branch information
bluca authored and mrc0mmand committed Feb 21, 2024
1 parent a84abc0 commit e7c9317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions units/systemd-boot-system-token.service
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Conflicts=shutdown.target initrd-switch-root.target
Before=shutdown.target initrd-switch-root.target

# Only run this if the boot loader can support random seed initialization.
ConditionPathExists|=/sys/firmware/efi/efivars/LoaderFeatures-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
ConditionPathExists|=/sys/firmware/efi/efivars/StubFeatures-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
ConditionPathExists=|/sys/firmware/efi/efivars/LoaderFeatures-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
ConditionPathExists=|/sys/firmware/efi/efivars/StubFeatures-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f

# Only run this if there is no system token defined yet
ConditionPathExists=!/sys/firmware/efi/efivars/LoaderSystemToken-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
Expand Down

0 comments on commit e7c9317

Please sign in to comment.