Fix yumdownloader cache dir
TMPDIR env is not being honored as cache dir in EL 8. Change-Id: I8281675ec5f0951b3e190a8d6727744a1a5cd8d7
This commit is contained in:
parent
3477dfad00
commit
9d9dd9249c
@ -119,6 +119,7 @@ function _install_repos {
|
||||
TMPDIR=${temp_tmp} yumdownloader --verbose \
|
||||
--releasever=$DIB_RELEASE \
|
||||
--setopt=reposdir=$repo \
|
||||
--setopt=cachedir=$temp_tmp \
|
||||
--destdir=$WORKING \
|
||||
${packages} && rc=$? || rc=$?
|
||||
rm -rf ${temp_tmp}
|
||||
|
Loading…
Reference in New Issue
Block a user