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

Add the ability to download and unpack prebuilts #56

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

smklein
Copy link
Contributor

@smklein smklein commented Mar 4, 2023

  • Adds omicron to config/projects.toml
  • Defines Prebuilt objects, which can be downloaded during gmake setup
    • Adds a caching mechanism to avoid re-downloading if the SHA-2 already matches
    • Adds an unpacking mechanism to optionally unpack the prebuilt to a well-known directory
      • Why optional? We may want to download other zone file tarballs later, without actually unpacking them
  • For Omicron, downloads and unpacks global zone files, and makes them available to downstream image building via the -P flag.

@smklein smklein requested a review from jclulow March 4, 2023 03:20
@smklein smklein changed the title [helios-build] Add the ability to download and unpack prebuilts Add the ability to download and unpack prebuilts Mar 4, 2023
@smklein
Copy link
Contributor Author

smklein commented Mar 6, 2023

@jclulow - Even with your changes, I still think this PR is necessary to correctly unpack the prebuilt software into a proto area.

@jclulow
Copy link
Collaborator

jclulow commented Mar 6, 2023

@jclulow - Even with your changes, I still think this PR is necessary to correctly unpack the prebuilt software into a proto area.

Yes I agree, but I wanted to make sure we had the requisite facilities functional for producing the image before tackling the automatic download/unpack.

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