Merge "Fix yumdownloader cache dir"

This commit is contained in:
Zuul 2020-06-10 16:24:53 +00:00 committed by Gerrit Code Review
commit 3614900572

View File

@ -119,6 +119,7 @@ function _install_repos {
TMPDIR=${temp_tmp} yumdownloader --verbose \ TMPDIR=${temp_tmp} yumdownloader --verbose \
--releasever=$DIB_RELEASE \ --releasever=$DIB_RELEASE \
--setopt=reposdir=$repo \ --setopt=reposdir=$repo \
--setopt=cachedir=$temp_tmp \
--destdir=$WORKING \ --destdir=$WORKING \
${packages} && rc=$? || rc=$? ${packages} && rc=$? || rc=$?
rm -rf ${temp_tmp} rm -rf ${temp_tmp}