Skip to content

Commit

Permalink
Do not use dnf config-manager to set packit-dev repo priority
Browse files Browse the repository at this point in the history
dnf5 config-manager plugin doesn't seem to allow to permanently edit
repository configuration, use sed to set the priority instead.

Signed-off-by: Nikola Forró <[email protected]>
  • Loading branch information
nforro committed May 10, 2024
1 parent 0b60086 commit 80743a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plans/packit-integration.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ prepare:
copr: packit/packit-dev
# make sure the Copr repo has higher priority than TF Tag Repository
- how: shell
script: dnf -y config-manager --save --setopt="*:packit:packit-dev.priority=5"
script: sed -i -n '/^priority=/!p;$apriority=5' /etc/yum.repos.d/*:packit:packit-dev.repo

adjust:
- when: "how == integration"
Expand Down

0 comments on commit 80743a7

Please sign in to comment.