[buildpkg] fix #143
This commit is contained in:
parent
d95b664af8
commit
34ed9058eb
2 changed files with 3 additions and 2 deletions
|
@ -164,7 +164,8 @@ pacman_conf="${PKGDATADIR}/pacman-${pacman_conf_arch}.conf"
|
||||||
makepkg_conf="${PKGDATADIR}/makepkg-${arch}.conf"
|
makepkg_conf="${PKGDATADIR}/makepkg-${arch}.conf"
|
||||||
mirrors_conf="${PKGDATADIR}/pacman-mirrors-${branch}.conf"
|
mirrors_conf="${PKGDATADIR}/pacman-mirrors-${branch}.conf"
|
||||||
|
|
||||||
mkchroot_args+=(-C ${pacman_conf} -M ${makepkg_conf} -S ${mirrors_conf} -B "${build_mirror}/${branch}" -L)
|
chroot_run_args+=(-C ${pacman_conf} -M ${makepkg_conf} -S ${mirrors_conf} -B "${build_mirror}/${branch}")
|
||||||
|
mkchroot_args+=(${chroot_run_args} -L)
|
||||||
|
|
||||||
mkchrootpkg_args+=(-r ${work_dir})
|
mkchrootpkg_args+=(-r ${work_dir})
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ chroot_clean(){
|
||||||
|
|
||||||
chroot_update(){
|
chroot_update(){
|
||||||
msg "Updating chroot for [${branch}] (${arch})..."
|
msg "Updating chroot for [${branch}] (${arch})..."
|
||||||
chroot-run ${mkchroot_args[*]} \
|
chroot-run ${chroot_run_args[*]} \
|
||||||
"${work_dir}/${OWNER}" \
|
"${work_dir}/${OWNER}" \
|
||||||
pacman -Syu --noconfirm || abort
|
pacman -Syu --noconfirm || abort
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue