Skip to content

Use --replacepkgs when installing local builds#2180

Merged
cgwalters merged 1 commit intobootc-dev:mainfrom
jeckersb:replacepkgs
May 1, 2026
Merged

Use --replacepkgs when installing local builds#2180
cgwalters merged 1 commit intobootc-dev:mainfrom
jeckersb:replacepkgs

Conversation

@jeckersb
Copy link
Copy Markdown
Collaborator

Trying to run tests locally against rawhide was failing, because I
have no local modifications and the same package NEVRA already exists
in the rhcontainerbot/bootc copr repo which is installed previously.

Now if we have the same NEVRA via the local build we'll just
re-install the local version as effectively a no-op instead of
failing.

Signed-off-by: John Eckersberg jeckersb@redhat.com

Trying to run tests locally against rawhide was failing, because I
have no local modifications and the same package NEVRA already exists
in the rhcontainerbot/bootc copr repo which is installed previously.

Now if we have the same NEVRA via the local build we'll just
re-install the local version as effectively a no-op instead of
failing.

Signed-off-by: John Eckersberg <jeckersb@redhat.com>
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the Dockerfile to include the --replacepkgs flag when installing the bootc package via rpm. This ensures the package can be reinstalled even if it is already present in the image. I have no feedback to provide as there were no review comments.

@cgwalters cgwalters enabled auto-merge April 30, 2026 16:42
@cgwalters cgwalters added this pull request to the merge queue Apr 30, 2026
@cgwalters cgwalters removed this pull request from the merge queue due to a manual request Apr 30, 2026
@cgwalters cgwalters added this pull request to the merge queue Apr 30, 2026
@cgwalters cgwalters removed this pull request from the merge queue due to a manual request Apr 30, 2026
@cgwalters cgwalters added this pull request to the merge queue May 1, 2026
Merged via the queue into bootc-dev:main with commit 333ae30 May 1, 2026
14 checks passed
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