Browse Source

TEST-99-RPM: use --best and install all rpms

master
Harald Hoyer 8 years ago
parent
commit
f81806db20
  1. 6
      test/TEST-99-RPM/test.sh

6
test/TEST-99-RPM/test.sh

@ -36,6 +36,7 @@ trap '[[ -d $rootdir ]] && { umount "$rootdir/proc"; umount "$rootdir/sys"; umou
command -v dnf >/dev/null && { dnf_or_yum="dnf"; dnf_or_yum_cmd="dnf --allowerasing"; } command -v dnf >/dev/null && { dnf_or_yum="dnf"; dnf_or_yum_cmd="dnf --allowerasing"; }
$dnf_or_yum_cmd -v --nogpgcheck --installroot "$rootdir"/ --releasever 25 --disablerepo='*' \ $dnf_or_yum_cmd -v --nogpgcheck --installroot "$rootdir"/ --releasever 25 --disablerepo='*' \
--enablerepo=fedora --enablerepo=updates \ --enablerepo=fedora --enablerepo=updates \
--best \
install -y \ install -y \
$dnf_or_yum \ $dnf_or_yum \
passwd \ passwd \
@ -50,11 +51,8 @@ trap '[[ -d $rootdir ]] && { umount "$rootdir/proc"; umount "$rootdir/sys"; umou
mdadm \ mdadm \
bash \ bash \
iscsi-initiator-utils \ iscsi-initiator-utils \
"$TESTDIR"/dracut-[0-9]*.$(arch).rpm \ "$TESTDIR"/dracut-*.rpm \
${NULL} ${NULL}
#"$TESTDIR"/dracut-config-rescue-[0-9]*.$(arch).rpm \
#"$TESTDIR"/dracut-network-[0-9]*.$(arch).rpm \
# ${NULL}


cat >"$rootdir"/test.sh <<EOF cat >"$rootdir"/test.sh <<EOF
#!/bin/bash #!/bin/bash

Loading…
Cancel
Save