Give every file a header (title, empty line, explanation), wrap comments at 80 columns and keep them to the why. Only comments change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
804 B
Plaintext
28 lines
804 B
Plaintext
# UKI update
|
|
#
|
|
# Installs the next UKI, which systemd-boot then boots by default. For
|
|
# Verify=yes, see 10-root.transfer.
|
|
#
|
|
# The new UKI gets three tries (boot counting: the +@l-@d in its name).
|
|
# systemd-bless-boot marks it good once a boot reaches boot-complete.target.
|
|
# If no boot does, systemd-boot goes back to the previous UKI, and with it to
|
|
# the previous root partition, because each UKI holds its root hash. No
|
|
# Mode=0444: systemd-boot can't rename a read-only file.
|
|
[Transfer]
|
|
ProtectVersion=%A
|
|
Verify=yes
|
|
|
|
[Source]
|
|
Type=url-file
|
|
Path=https://git.plabble.org/api/packages/Job79/generic/agent/latest/
|
|
MatchPattern=agent_@v.efi
|
|
|
|
[Target]
|
|
Type=regular-file
|
|
Path=/EFI/Linux
|
|
PathRelativeTo=boot
|
|
MatchPattern=agent_@v+@l-@d.efi agent_@v+@l.efi agent_@v.efi
|
|
TriesLeft=3
|
|
TriesDone=0
|
|
InstancesMax=2
|