No repo secrets: unsigned image, updates as release assets, job image built by mkosi
os / os (push) Successful in 3m51s
os / os (push) Successful in 3m51s
The workflow's own token can't write packages and repo secrets can't be set, so: build unsigned, publish the sysupdate files as assets of the "latest" release, and build the job image with mkosi and ship it in /usr instead of pushing it to a registry. Partition UUIDs are now part of the update file names, so updated /usr partitions keep the UUIDs usrhash= expects. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
16 files changed
+107
-108
No files matched your search
@@ -1,13 +1,12 @@
|
||||
# Updates /usr: writes the next version to the unused /usr partition.
|
||||
[Transfer]
|
||||
ProtectVersion=%A
|
||||
# Not signed: the Secure Boot signed UKI pins the hash of /usr (usrhash=).
|
||||
Verify=no
|
||||
|
||||
[Source]
|
||||
Type=url-file
|
||||
Path=https://git.plabble.org/api/packages/job79/generic/git-runner-mkosi/latest/
|
||||
MatchPattern=git-runner_@v.usr-%a.raw.zst
|
||||
Path=https://git.plabble.org/Job79/git-runner-mkosi/releases/download/latest/
|
||||
MatchPattern=git-runner_@v.usr-%a.@u.raw.zst
|
||||
|
||||
[Target]
|
||||
Type=partition
|
||||
|
||||
@@ -5,8 +5,8 @@ Verify=no
|
||||
|
||||
[Source]
|
||||
Type=url-file
|
||||
Path=https://git.plabble.org/api/packages/job79/generic/git-runner-mkosi/latest/
|
||||
MatchPattern=git-runner_@v.usr-%a-verity.raw.zst
|
||||
Path=https://git.plabble.org/Job79/git-runner-mkosi/releases/download/latest/
|
||||
MatchPattern=git-runner_@v.usr-%a-verity.@u.raw.zst
|
||||
|
||||
[Target]
|
||||
Type=partition
|
||||
|
||||
@@ -1,20 +1,17 @@
|
||||
# Installs the next UKI, which systemd-boot boots by default. If it fails to boot 3 times,
|
||||
# systemd-boot falls back to the previous one.
|
||||
# Installs the next UKI, which systemd-boot boots by default.
|
||||
[Transfer]
|
||||
ProtectVersion=%A
|
||||
Verify=no
|
||||
|
||||
[Source]
|
||||
Type=url-file
|
||||
Path=https://git.plabble.org/api/packages/job79/generic/git-runner-mkosi/latest/
|
||||
Path=https://git.plabble.org/Job79/git-runner-mkosi/releases/download/latest/
|
||||
MatchPattern=git-runner_@v.efi
|
||||
|
||||
[Target]
|
||||
Type=regular-file
|
||||
Path=/EFI/Linux
|
||||
PathRelativeTo=boot
|
||||
MatchPattern=git-runner_@v+@l-@d.efi git-runner_@v+@l.efi git-runner_@v.efi
|
||||
MatchPattern=git-runner_@v.efi
|
||||
Mode=0444
|
||||
TriesLeft=3
|
||||
TriesDone=0
|
||||
InstancesMax=2
|
||||
Reference in new issue
Block a user