diff options
Diffstat (limited to 'archbuild.in')
-rw-r--r-- | archbuild.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archbuild.in b/archbuild.in index 06c9815..38fb8bf 100644 --- a/archbuild.in +++ b/archbuild.in @@ -68,11 +68,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})..." |