Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys-apps/baselayout: Don't fetch non-live version from git #2238

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

chewi
Copy link
Contributor

@chewi chewi commented Aug 15, 2024

sys-apps/baselayout: Don't fetch non-live version from git

Use a regular tarball from GitHub. baselayout is a special case because Catalyst initially installs it with --nodeps. We currently use stage 4 as a seed, which includes git, so this is fine right now, but we would like to switch to using stage 3 instead. You also might use a cross-compiled stage 3 as a seed when porting the SDK to a new architecture.

For the switch to stage 3, I had initially wanted to publish the tarball with a different filename, but this has proved super awkward due to the digest check. baselayout is the only thing preventing this change from being backwards-compatible. Rather than change the filename, I am getting this baselayout change in well ahead of the switch to avoid breaking current development branches. Only the SDK build would break though, which isn't something we typically do outside CI, and simply rebasing will fix it.

How to use

Nothing to use here.

Testing done

I've done a two-phase Jenkins run. There were no notable changes.

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update) -- N/A
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

Use a regular tarball from GitHub. baselayout is a special case because
Catalyst initially installs it with --nodeps. We currently use stage 4
as a seed, which includes git, so this is fine right now, but we would
like to switch to using stage 3 instead. You also might use a
cross-compiled stage 3 as a seed when porting the SDK to a new
architecture.

Signed-off-by: James Le Cuirot <[email protected]>
@chewi chewi requested a review from a team August 15, 2024 17:16
@chewi chewi self-assigned this Aug 15, 2024
@chewi chewi merged commit 860464a into main Aug 16, 2024
1 check failed
@chewi chewi deleted the chewi/baselayout-no-git branch August 16, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants