index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archbuild.in | 6 |
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})..." |