[util-iso-image] fix build locale on root-image
This commit is contained in:
parent
ef02de3513
commit
a9a0b7d5e7
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ download_to_cache(){
|
|||
# $1: image path
|
||||
# $2: packages
|
||||
chroot_create(){
|
||||
[[ "$1" == "${work_dir}/root-image" ]] && local flag="-L"
|
||||
[[ "${1##*/}" == "root-image" ]] && local flag="-L"
|
||||
setarch "${target_arch}" \
|
||||
mkchroot ${mkchroot_args[*]} ${flag} $@
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue