[util-iso-image] use mkchroot_args var

This commit is contained in:
udeved 2015-06-03 17:25:53 +02:00
parent efd04a4a90
commit 818417ca3e

View file

@ -397,9 +397,7 @@ download_to_cache(){
make_chroot(){
[[ "$1" == "${work_dir}/root-image" ]] && local flag="-L"
setarch "${arch}" \
mkchroot -C ${pacman_conf} \
-S ${mirrors_conf} \
${flag} \
mkchroot ${mkchroot_args[*]} ${flag} \
$@ || die "Failed to retrieve one or more packages!"
}