Blame 0167-TEST-99-RPM-use-best-and-install-all-rpms.patch
|
Harald Hoyer |
53404a |
From f81806db208a55bc4a6b04eb89cabf062c79f3ef Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
53404a |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
53404a |
Date: Mon, 14 Nov 2016 12:27:33 +0100
|
|
Harald Hoyer |
53404a |
Subject: [PATCH] TEST-99-RPM: use --best and install all rpms
|
|
Harald Hoyer |
53404a |
|
|
Harald Hoyer |
53404a |
---
|
|
Harald Hoyer |
53404a |
test/TEST-99-RPM/test.sh | 6 ++----
|
|
Harald Hoyer |
53404a |
1 file changed, 2 insertions(+), 4 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 345d524..f2efea0 100755
|
|
Harald Hoyer |
53404a |
--- a/test/TEST-99-RPM/test.sh
|
|
Harald Hoyer |
53404a |
+++ b/test/TEST-99-RPM/test.sh
|
|
Harald Hoyer |
53404a |
@@ -36,6 +36,7 @@ trap '[[ -d $rootdir ]] && { umount "$rootdir/proc"; umount "$rootdir/sys"; umou
|
|
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 --enablerepo=updates \
|
|
Harald Hoyer |
53404a |
+ --best \
|
|
Harald Hoyer |
53404a |
install -y \
|
|
Harald Hoyer |
53404a |
$dnf_or_yum \
|
|
Harald Hoyer |
53404a |
passwd \
|
|
Harald Hoyer |
53404a |
@@ -50,11 +51,8 @@ trap '[[ -d $rootdir ]] && { umount "$rootdir/proc"; umount "$rootdir/sys"; umou
|
|
Harald Hoyer |
53404a |
mdadm \
|
|
Harald Hoyer |
53404a |
bash \
|
|
Harald Hoyer |
53404a |
iscsi-initiator-utils \
|
|
Harald Hoyer |
53404a |
- "$TESTDIR"/dracut-[0-9]*.$(arch).rpm \
|
|
Harald Hoyer |
53404a |
+ "$TESTDIR"/dracut-*.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
|