summaryrefslogtreecommitdiffstats
path: root/archbuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'archbuild.in')
-rw-r--r--archbuild.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/archbuild.in b/archbuild.in
index bdb18c0..7872cd4 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -73,11 +73,11 @@ if ${clean_first} || [[ ! -d "${chroots}/${repo}-${arch}" ]]; then
"${chroots}/${repo}-${arch}/root" \
"${base_packages[@]}" || abort
else
- setarch ${arch} mkarchroot \
- -u \
+ setarch ${arch} arch-nspawn \
-C "@pkgdatadir@/pacman-${repo}.conf" \
-M "@pkgdatadir@/makepkg-${arch}.conf" \
- "${chroots}/${repo}-${arch}/root" || abort
+ "${chroots}/${repo}-${arch}/root" \
+ pacman -Syu --noconfirm || abort
fi
msg "Building in chroot for [${repo}] (${arch})..."