Skip to content

Use --replacepkgs when installing local builds#2159

Open
jeckersb wants to merge 1 commit intobootc-dev:mainfrom
jeckersb:replacepkgs
Open

Use --replacepkgs when installing local builds#2159
jeckersb wants to merge 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

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 adds the --replacepkgs flag to the rpm installation commands in the Dockerfile and the install-rpm-and-setup script to allow replacing existing packages during local builds. A review comment suggests correcting punctuation and grammar in the newly added documentation block in the installation script.

Comment thread contrib/packaging/install-rpm-and-setup
@bootc-bot bootc-bot Bot requested a review from ckyrouac April 23, 2026 14:39
@Johan-Liebert1 Johan-Liebert1 enabled auto-merge (rebase) April 23, 2026 14:56
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>
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