Skip to content

Commit 37e0c86

Browse files
committed
repo priorities
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
1 parent db0ca12 commit 37e0c86

File tree

4 files changed

+19
-16
lines changed

4 files changed

+19
-16
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env bash
2+
3+
set -exo pipefail
4+
5+
# Farm tag repo is set at higher priority, conflicting with podman-next
6+
sed -i '/^priority/d' /etc/yum.repos.d/tag-repository.repo
7+
8+
#COPR_REPO_FILE="/etc/yum.repos.d/*podman-next.repo"
9+
#if compgen -G "$COPR_REPO_FILE" > /dev/null; then
10+
# # We want the priority bump appended to the file, we're not looking to use a variable.
11+
# # shellcheck disable=SC2016
12+
# sed -i -n '/^priority=/!p;$apriority=1' "$COPR_REPO_FILE"
13+
#fi
14+
15+
# We want all dependencies from podman-next except podman as podman will be fetched
16+
# from the packit copr.
17+
#dnf -y upgrade --allowerasing --exclude=podman*

contrib/packit-tmt/podman-next-setup.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

plans/cockpit-podman.fmf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ execute:
1818
prepare:
1919
when: initiator == packit
2020
how: shell
21-
script: bash $TMT_TREE/contrib/packit-tmt/podman-next-setup.sh
21+
script: bash $TMT_TREE/contrib/packit-tmt/dnf-repo-setup.sh
2222
order: 20
2323

2424
# not relevant for testing podman

plans/system.fmf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ prepare:
1616
order: 10
1717
- when: initiator == packit
1818
how: shell
19-
script: bash $TMT_TREE/contrib/packit-tmt/podman-next-setup.sh
19+
script: bash $TMT_TREE/contrib/packit-tmt/dnf-repo-setup.sh
2020
order: 20
2121

2222
adjust+:

0 commit comments

Comments
 (0)