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>
20 lines
516 B
Plaintext
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
|