From e15a821aba4fc5697fae61f5e76518cddf670eab Mon Sep 17 00:00:00 2001 From: Nicola Sella Date: Mon, 8 Apr 2024 16:22:23 +0200 Subject: [PATCH] Enable dnf5-testing repository Test DNF5 before switching to Fedora 41 when DNF5 will obsolete DNF --- enable_dnf5.sh | 6 ++++++ installability.fmf | 4 ++++ 2 files changed, 10 insertions(+) create mode 100755 enable_dnf5.sh diff --git a/enable_dnf5.sh b/enable_dnf5.sh new file mode 100755 index 0000000..ab1d042 --- /dev/null +++ b/enable_dnf5.sh @@ -0,0 +1,6 @@ +#!/usr/bin/bash + +dnf -y copr enable rpmsoftwaremanagement/dnf5-testing +dnf -y install dnf5 +# ensure dnf5 is installed from copr since it might be installed from fedora repos +dnf -y update dnf5 --repo=copr:copr.fedorainfracloud.org:rpmsoftwaremanagement:dnf5-testing diff --git a/installability.fmf b/installability.fmf index 7e8b2d5..33dc91f 100644 --- a/installability.fmf +++ b/installability.fmf @@ -11,6 +11,10 @@ discover: framework: shell test: bash prepare.sh duration: 30m + - name: enable_dnf5 + framework: shell + test: bash enable_dnf5.sh + duration: 30m - name: installability framework: shell test: /usr/local/libexec/mini-tps/installability_runner.sh --critical --skiplangpack --selinux=1 --repo=brew-$TASK_ID