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(){
|
||||
[[ "$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!"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue