Files
agent-mkosi/mkosi.extra/usr/lib/sysupdate.d/20-uki.transfer
T
Job79andClaude Opus 5.5 bbd0364792 chore: simplify image configuration
Drop the custom firewall, PS1, oomd and nftables overrides, trim sysctl
settings, and add the Secure Boot certificate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 19:40:51 +01:00

23 lines
759 B
Plaintext

# Installs the next UKI, which systemd-boot boots by default. Verify=yes: see 10-root.transfer.
# It gets three tries (boot counting, the +@l-@d in its name; no Mode=0444, systemd-boot can't
# rename a read-only file): systemd-bless-boot marks it good once a boot gets through
# (boot-complete.target); if none does, systemd-boot goes back to the previous UKI, and with it
# the previous root partition (each UKI holds its root hash).
[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