From 910b6c12987f70850808234e517ad6f1ede8e8d7 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 17 Dec 2015 02:29:10 +0100 Subject: reproducible rpms: use dnf instead of yum --- bin/reproducible_setup_mock.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bin/reproducible_setup_mock.sh b/bin/reproducible_setup_mock.sh index 6c554b18..f5e9306a 100755 --- a/bin/reproducible_setup_mock.sh +++ b/bin/reproducible_setup_mock.sh @@ -42,5 +42,13 @@ mock -r $RELEASE-$ARCH --resultdir=. -v --install rpm-build yum echo "$(date -u) - mock --update" mock -r $RELEASE-$ARCH --resultdir=. -v --update echo "$(date -u) - yum makecache" -mock -r $RELEASE-$ARCH --resultdir=. -v --chroot yum makecache +#mock -r $RELEASE-$ARCH --resultdir=. -v --chroot yum makecache +# +# resulted in: +#Yum command has been deprecated, redirecting to '/usr/bin/dnf makecache'. +#See 'man dnf' and 'man yum2dnf' for more information. +#To transfer transaction metadata from yum to DNF, run: +mock -r $RELEASE-$ARCH --resultdir=. -v --chroot dnf install python-dnf-plugins-extras-migrate +mock -r $RELEASE-$ARCH --resultdir=. -v --chroot dnf-2 migrate +mock -r $RELEASE-$ARCH --resultdir=. -v --chroot dnf makecache -- cgit v1.2.3-70-g09d2