TEST-99-RPM: use --best and install all rpms
parent
f0c9ae4d36
commit
f81806db20
|
@ -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"; }
|
||||
$dnf_or_yum_cmd -v --nogpgcheck --installroot "$rootdir"/ --releasever 25 --disablerepo='*' \
|
||||
--enablerepo=fedora --enablerepo=updates \
|
||||
--best \
|
||||
install -y \
|
||||
$dnf_or_yum \
|
||||
passwd \
|
||||
|
@ -50,11 +51,8 @@ trap '[[ -d $rootdir ]] && { umount "$rootdir/proc"; umount "$rootdir/sys"; umou
|
|||
mdadm \
|
||||
bash \
|
||||
iscsi-initiator-utils \
|
||||
"$TESTDIR"/dracut-[0-9]*.$(arch).rpm \
|
||||
"$TESTDIR"/dracut-*.rpm \
|
||||
${NULL}
|
||||
#"$TESTDIR"/dracut-config-rescue-[0-9]*.$(arch).rpm \
|
||||
#"$TESTDIR"/dracut-network-[0-9]*.$(arch).rpm \
|
||||
# ${NULL}
|
||||
|
||||
cat >"$rootdir"/test.sh <<EOF
|
||||
#!/bin/bash
|
||||
|
|
Loading…
Reference in New Issue