Files
runneros/mkosi.extra/usr/lib/sysupdate.d/10-root.transfer
T
Job79andClaude Opus 5.5 92a21ae607 Sign updates
The os workflow signs SHA256SUMS with the SIGNING_KEY secret and publishes
SHA256SUMS.gpg next to it. systemd-sysupdate now verifies it (Verify=yes)
against import-pubring.pgp, so hosts only install updates we built.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 22:43:54 +01:00

20 lines
516 B
Plaintext

# Updates the root filesystem: writes the next version to the unused root partition.
# Verify=yes: SHA256SUMS.gpg must be signed by a key in /usr/lib/systemd/import-pubring.pgp, and
# SHA256SUMS checks each download.
[Transfer]
ProtectVersion=%A
Verify=yes
[Source]
Type=url-file
Path=https://git.plabble.org/api/packages/Job79/generic/git-runner/latest/
MatchPattern=git-runner_@v.root-%a.@u.raw.zst
[Target]
Type=partition
Path=auto
MatchPattern=git-runner_@v
MatchPartitionType=root
PartitionFlags=0
ReadOnly=1