Add PAYG early boot support#160
Merged
11 commits merged intomainfrom Oct 15, 2025
Merged
Conversation
Closed
Closed
a6a3f2c to
134f959
Compare
eos-payg-nonfree's build depends on python module black.
The PAYG components include private code so we need to gate this behind a flag.
Some of the Endless PAYG support is private, so this is gated behind a project option that is off by default (`-o payg`) to ensure eos-build-meta is still buildable by contributors outside of Endless. Changes based on: <https://github.com/endlessm/eos-ostree-builder/blob/master/hooks/os/85-dracut-payg-image.chroot> Part of #11
This is needed for PAYG which uses a special cert.
dsd
approved these changes
Oct 15, 2025
Member
dsd
left a comment
There was a problem hiding this comment.
I assume the build failure will be checked. Looks good to me from a brief look!
starnight
reviewed
Oct 15, 2025
| - payg == true: | ||
| depends: | ||
| (>): | ||
| - eos/payg/deps.bst |
Contributor
There was a problem hiding this comment.
Line 46 has already included eos/payg/deps.bst. Is it duplicated?
added 7 commits
October 15, 2025 11:38
At least one patch to systemd-boot is essential for PAYG support. (Which enables reading the `loaders/` folder via a symlink in a text file -- necessary as OSTree requires some sort of symlink support to deploy the boot config, even on the ESP which is a FAT filesystem). See: #161
This involves a new token so the runner can clone private repos.
So we can see error messages
This helps if e.g. you suspect there's a build failure due to a bug in a particular BuildStream plugin, you update requirements.txt and want to force a rebuild instead of using a cached build.
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This depends on and includes #159.
In this PR:
-o paygproject option, to disable PAYG elements by defaultsigning/payg/signed-uki-snakeoil.bst(this probably isn't very useful)signing/payg/signed-uki-endless.bstelement-o payg truesettingStill to do: