From: Frantisek Sumsal Date: Mon, 24 Feb 2020 21:10:58 +0000 (+0100) Subject: TEST-99-RPM: ignore weak dependencies in dnf X-Git-Tag: 050~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1dc2180d4cd52c1d98868f0f8318fd3ea710538;p=thirdparty%2Fdracut.git TEST-99-RPM: ignore weak dependencies in dnf Weak dependencies are useless for this test and pollute the chroot, causing unexpected fails. --- diff --git a/test/TEST-99-RPM/test.sh b/test/TEST-99-RPM/test.sh index 22d579f55..af64c24a9 100755 --- a/test/TEST-99-RPM/test.sh +++ b/test/TEST-99-RPM/test.sh @@ -36,7 +36,7 @@ test_run() { command -v dnf >/dev/null && { dnf_or_yum="dnf"; dnf_or_yum_cmd="dnf --allowerasing"; } for (( i=0; i < 5 ; i++)); do $dnf_or_yum_cmd -v --nogpgcheck --installroot "$rootdir"/ --releasever "$VERSION_ID" --disablerepo='*' \ - --enablerepo=fedora --enablerepo=updates \ + --enablerepo=fedora --enablerepo=updates --setopt=install_weak_deps=False \ install -y \ $dnf_or_yum \ passwd \