Skip to content

osinfo: warn on old-prefix usage - #2648

Merged
supakeen merged 1 commit into
osbuild:mainfrom
supakeen:bootc-prefixes-no-mixing
Sep 4, 2026
Merged

supakeen merged 1 commit into
osbuild:mainfrom
supakeen:bootc-prefixes-no-mixing

Conversation

@supakeen

@supakeen supakeen commented Sep 2, 2026

Copy link
Copy Markdown
Member

When the "old" deprecated prefix of /usr/lib/bootc-image-builder exists in a container emit a warning with the preferred prefix path.


See #2647.

achilleas-k
achilleas-k previously approved these changes Sep 3, 2026

@achilleas-k achilleas-k left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Thanks!

brlane-rht
brlane-rht previously approved these changes Sep 3, 2026

@brlane-rht brlane-rht left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good!

@supakeen
supakeen added this pull request to the merge queue Sep 4, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Sep 4, 2026
When the "old" deprecated prefix of `/usr/lib/bootc-image-builder`
exists in a container emit a warning with the preferred prefix path.

Signed-off-by: Simon de Vlieger <[email protected]>
@supakeen
supakeen dismissed stale reviews from brlane-rht and achilleas-k via e41ed0a September 4, 2026 06:27
@supakeen
supakeen force-pushed the bootc-prefixes-no-mixing branch from f88ea3e to e41ed0a Compare September 4, 2026 06:27
@supakeen

supakeen commented Sep 4, 2026 •

Copy link
Copy Markdown
Member Author

@achilleas-k / @brlane-rht I had to rebase this because #2649 just landed and the tests conflicted.


// old prefix disk.yaml must NOT be picked up since the new prefix exists
assert.Nil(t, info.PartitionTable)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stray empty line made it in 👀

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the rebase but go fmt seems to not care so LETS LEAVE IT ;)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha ya I approved

@supakeen
supakeen enabled auto-merge September 4, 2026 08:11
@supakeen
supakeen added this pull request to the merge queue Sep 4, 2026
Merged via the queue into osbuild:main with commit da8b896 Sep 4, 2026
54 checks passed
@supakeen
supakeen deleted the bootc-prefixes-no-mixing branch September 4, 2026 10:26
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.

5 participants