diff options
-rwxr-xr-x | bin/reproducible_setup_mock.sh | 10 |
1 files changed, 9 insertions, 1 deletions
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 |