[buildpkg] fix #143

This commit is contained in:
Philip 2015-09-23 08:08:35 +02:00
parent d95b664af8
commit 34ed9058eb
2 changed files with 3 additions and 2 deletions

View file

@ -164,7 +164,8 @@ pacman_conf="${PKGDATADIR}/pacman-${pacman_conf_arch}.conf"
makepkg_conf="${PKGDATADIR}/makepkg-${arch}.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})

View file

@ -54,7 +54,7 @@ chroot_clean(){
chroot_update(){
msg "Updating chroot for [${branch}] (${arch})..."
chroot-run ${mkchroot_args[*]} \
chroot-run ${chroot_run_args[*]} \
"${work_dir}/${OWNER}" \
pacman -Syu --noconfirm || abort