-
Notifications
You must be signed in to change notification settings - Fork 172
konflux: enable hermetic builds #3723
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,8 +8,11 @@ set -euo pipefail | |
| arch=$(uname -m) | ||
| . /etc/os-release | ||
|
|
||
| cp /src/fedora-coreos-continuous.repo /etc/yum.repos.d | ||
|
|
||
| # cachi2 is the repo Konflux injects when hermetic build is enabled and | ||
| # is self-sufficient to pull all the required RPMs. | ||
| if [ ! -f "/etc/yum.repos.d/cachi2.repo" ]; then | ||
| cp /src/fedora-coreos-continuous.repo /etc/yum.repos.d | ||
| fi | ||
|
Comment on lines
+11
to
+15
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not copying the fedora-coreos-continuous repo here means the step below with I wonder if the buildroot-prep stuff is just never going to work with hermetic? OR - better, let's just fold calling buildroot-prep into build-rootfs as a another function that gets called (which shells out to the script). This means it can run after we call
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good point, let's give a try.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| # NOTE: try to remove anything that queries repos here once it's no longer | ||
| # needed so that we don't unnecessarily pay for repo metadata. | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.