Skip to content

bib: mark rpm based ISOs internally as deprecated#1063

Merged
mvo5 merged 4 commits intoosbuild:mainfrom
mvo5:cleanup-iso-only
Oct 1, 2025
Merged

bib: mark rpm based ISOs internally as deprecated#1063
mvo5 merged 4 commits intoosbuild:mainfrom
mvo5:cleanup-iso-only

Conversation

@mvo5
Copy link
Contributor

@mvo5 mvo5 commented Sep 29, 2025

This PR does some code cleanup/reshuffling to separate the legacy rpm bsased ISO building from the "new" images library manifest creation. Once we support "bootc" based installer containers the "new" images code path will also be used for those.

This assume of course that something like #1059 is the future how we want the ISOs to be constructed.

Tiny cleanup/refactor to move some code out of {main,images}.go
so that those places are less cluttered.
During the refactor the `manifestFromCobra()` helper became quite messy.
This commit cleans this up by moving the parts that deal with disk
images into their own helper and the part that deals with iso the same.
This commit moves the rpm based ISO handling from images.go and
main.go into the new legacy_iso.go file to make clear that the
parts in there are only needed for the legacy (rpm) ISO handling
and can be removed once we no longer need to support this.
We want to move into a world where we build the anaconda image from
bootc containers instead of our current RPM based construction [0]
so lets mark the rpm based installer ISO image types as legacy.

This should make it easy to support a potential new `bootc-iso`
or `bootc-installer` image type [0] while still supporting the
legacy mode for a while.
@mvo5 mvo5 requested a review from a team as a code owner September 29, 2025 14:01
@mvo5 mvo5 requested review from achilleas-k, croissanne and supakeen and removed request for a team September 29, 2025 14:01
@achilleas-k achilleas-k added this pull request to the merge queue Sep 29, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 29, 2025
@mvo5 mvo5 added this pull request to the merge queue Oct 1, 2025
Merged via the queue into osbuild:main with commit 893a283 Oct 1, 2025
22 of 23 checks passed
@mvo5 mvo5 deleted the cleanup-iso-only branch October 1, 2025 13:56
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.

3 participants