fix(images): use effective repos for ISO build - #18648
Open
reuben olinsky (reubeno) wants to merge 1 commit into
Open
fix(images): use effective repos for ISO build#18648reuben olinsky (reubeno) wants to merge 1 commit into
reuben olinsky (reubeno) wants to merge 1 commit into
Conversation
Read the effective repositories from Kiwi's imported image description instead of duplicating the Azure Linux CDN URL in config.sh. This uses the repositories selected by the Koji task while preserving local image builds, where the imported description contains the configured Azure Linux repository. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: a8a571f0-e745-492a-8ce1-23b818f3b51e
Contributor
There was a problem hiding this comment.
Pull request overview
Updates ISO package sourcing to use repositories from Kiwi’s effective configuration.
Changes:
- Parses build repositories from
/image/config.xml. - Adds explicit Python 3 dependency.
- Dynamically configures DNF repository arguments.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
base/images/vm-iso-installer/config.sh |
Builds the offline repository from Kiwi-selected sources. |
base/images/vm-iso-installer/vm-iso-installer.kiwi |
Adds Python 3 and updates repository documentation. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| DNF_REPO_ARGS=(--setopt=reposdir=/dev/null) | ||
| for i in "${!BUILD_REPOS[@]}"; do | ||
| repo_id="kiwi-build-$i" | ||
| echo "Using build repository: ${BUILD_REPOS[$i]}" |
Member
Author
There was a problem hiding this comment.
While theoretically possible, we don't have any known use cases where an ISO would be built using a repo URL that has embedded secrets in its query string. At present, having this diagnostic info available in the logs does have significant value -- to confirm where the packages were sourced from.
Member
Author
|
/azp run |
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. |
reuben olinsky (reubeno)
marked this pull request as ready for review
August 28, 2026 03:38
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.
Read the effective repositories from Kiwi's imported image description instead of duplicating the Azure Linux CDN URL in
config.sh. This will align the ISO build's consumption of packages with other images, and as a side effect, correct theISO build for PME-prod.
This uses the repositories selected by the Koji task while preserving local image builds, where the imported description contains the configured Azure Linux repository.
Adds
python3as an explicit dependency. (It was already being pulled in anyway foranaconda.)Validation
Validated with local build as well as with a scratch koji build. In both cases the updated logic in
config.shcorrectly identified the correct repository to pull packages from.