forked from mirrored-repos/manjaro-tools
[util-iso-image] use mkchroot_args var
This commit is contained in:
parent
efd04a4a90
commit
818417ca3e
1 changed files with 1 additions and 3 deletions
|
@ -397,9 +397,7 @@ download_to_cache(){
|
||||||
make_chroot(){
|
make_chroot(){
|
||||||
[[ "$1" == "${work_dir}/root-image" ]] && local flag="-L"
|
[[ "$1" == "${work_dir}/root-image" ]] && local flag="-L"
|
||||||
setarch "${arch}" \
|
setarch "${arch}" \
|
||||||
mkchroot -C ${pacman_conf} \
|
mkchroot ${mkchroot_args[*]} ${flag} \
|
||||||
-S ${mirrors_conf} \
|
|
||||||
${flag} \
|
|
||||||
$@ || die "Failed to retrieve one or more packages!"
|
$@ || die "Failed to retrieve one or more packages!"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue