Blame 0165-test-TEST-99-RPM-dnf-does-not-like-any-dracut-subpac.patch
|
Harald Hoyer |
53404a |
From e35d1451f59e35c8bb03172749c331426d65c22f Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
53404a |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
53404a |
Date: Fri, 11 Nov 2016 16:34:42 +0100
|
|
Harald Hoyer |
53404a |
Subject: [PATCH] test/TEST-99-RPM: dnf does not like any dracut subpackage
|
|
Harald Hoyer |
53404a |
|
|
Harald Hoyer |
53404a |
---
|
|
Harald Hoyer |
53404a |
test/TEST-99-RPM/test.sh | 6 ++++--
|
|
Harald Hoyer |
53404a |
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
Harald Hoyer |
53404a |
|
|
Harald Hoyer |
53404a |
diff --git a/test/TEST-99-RPM/test.sh b/test/TEST-99-RPM/test.sh
|
|
Harald Hoyer |
53404a |
index 1485278..345d524 100755
|
|
Harald Hoyer |
53404a |
--- a/test/TEST-99-RPM/test.sh
|
|
Harald Hoyer |
53404a |
+++ b/test/TEST-99-RPM/test.sh
|
|
Harald Hoyer |
53404a |
@@ -35,7 +35,7 @@ trap '[[ -d $rootdir ]] && { umount "$rootdir/proc"; umount "$rootdir/sys"; umou
|
|
Harald Hoyer |
53404a |
dnf_or_yum_cmd=yum
|
|
Harald Hoyer |
53404a |
command -v dnf >/dev/null && { dnf_or_yum="dnf"; dnf_or_yum_cmd="dnf --allowerasing"; }
|
|
Harald Hoyer |
53404a |
$dnf_or_yum_cmd -v --nogpgcheck --installroot "$rootdir"/ --releasever 25 --disablerepo='*' \
|
|
Harald Hoyer |
53404a |
- --enablerepo=fedora \
|
|
Harald Hoyer |
53404a |
+ --enablerepo=fedora --enablerepo=updates \
|
|
Harald Hoyer |
53404a |
install -y \
|
|
Harald Hoyer |
53404a |
$dnf_or_yum \
|
|
Harald Hoyer |
53404a |
passwd \
|
|
Harald Hoyer |
53404a |
@@ -51,8 +51,10 @@ trap '[[ -d $rootdir ]] && { umount "$rootdir/proc"; umount "$rootdir/sys"; umou
|
|
Harald Hoyer |
53404a |
bash \
|
|
Harald Hoyer |
53404a |
iscsi-initiator-utils \
|
|
Harald Hoyer |
53404a |
"$TESTDIR"/dracut-[0-9]*.$(arch).rpm \
|
|
Harald Hoyer |
53404a |
- "$TESTDIR"/dracut-network-[0-9]*.$(arch).rpm \
|
|
Harald Hoyer |
53404a |
${NULL}
|
|
Harald Hoyer |
53404a |
+ #"$TESTDIR"/dracut-config-rescue-[0-9]*.$(arch).rpm \
|
|
Harald Hoyer |
53404a |
+ #"$TESTDIR"/dracut-network-[0-9]*.$(arch).rpm \
|
|
Harald Hoyer |
53404a |
+# ${NULL}
|
|
Harald Hoyer |
53404a |
|
|
Harald Hoyer |
53404a |
cat >"$rootdir"/test.sh <
|
|
Harald Hoyer |
53404a |
#!/bin/bash
|