diff --git a/fedorize_image b/fedorize_image index d08ab17..499a610 100755 --- a/fedorize_image +++ b/fedorize_image @@ -52,6 +52,7 @@ mount -t proc proc mnt/proc PKGGROUPS=$(cat $PKGLISTFILE) export YUM0=$PWD/yum_repo_qubes echo "-> Installing package groups..." +yum clean all -c $PWD/yum.conf $YUM_OPTS -y --installroot=$PWD/mnt yum install -c $PWD/yum.conf $YUM_OPTS -y --installroot=$INSTALLDIR $PKGGROUPS || RETCODE=1 yum update -c $PWD/yum.conf $YUM_OPTS -y --installroot=$INSTALLDIR || RETCODE=1