build: use dnf everywhere
The use of `dnf` and `yum` interchangably in the same script was
really irking my OCD.  In F28, `yum` and `dnf` are just a symlinks to
`/usr/bin/dnf-3`, so let's just use one going forward.
@@ -5,7 +5,7 @@ set -xeuo pipefail
# rsync, python2, pygobject3-base are dependencies of ostree-releng-scripts
# Also add python3 so people can use that too.
# createrepo_c+yum-utils is used for managing rojig bits.
-yum -y install rpm-ostree selinux-policy-targeted rpm-build \
+dnf -y install rpm-ostree selinux-policy-targeted rpm-build \
make cargo golang git jq \
rsync pygobject3-base python3-gobject-base \
createrepo_c dnf-utils
@@ -33,7 +33,7 @@ mv /root/src/coreos-assembler.sh /usr/bin/coreos-assembler
rm /root/src -rf
# Part of general image management
-yum -y install awscli
+dnf -y install awscli
cd /root
git clone https://github.com/coreos/mantle
# for now just build ore, we can add more components as we use them
@@ -45,10 +45,6 @@ dnf remove -y cargo golang
rpm -q grubby && dnf remove -y grubby
# more tooling for building openshift/os in the container
-cd /root
-git clone https://github.com/openshift/os
-cp os/RPM-GPG-KEY* /etc/pki/rpm-gpg/
-rm os -rf
dnf copr -y enable walters/buildtools-fedora
dnf -y install dnf-plugins-core fedpkg openssh-clients rpmdistro-gitoverlay
-yum clean all
+dnf clean all
