summaryrefslogtreecommitdiff
path: root/archbuild.in
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-06-15 12:04:07 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-15 12:04:07 -0600
commitfc25e189650a7ad6fb341487ac7fbb91aa6becfa (patch)
tree60768b7724be37b55672e76142e1ac54763737f0 /archbuild.in
parent47108a24dee698bcd43d83be24e204ccd27776a3 (diff)
parent8c4553f68cb1c01b24f4883db0032f646b2e77dd (diff)
downloaddevtools-fc25e189650a7ad6fb341487ac7fbb91aa6becfa.tar.xz
Merge branch 'devtools'
Diffstat (limited to 'archbuild.in')
-rw-r--r--archbuild.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/archbuild.in b/archbuild.in
index 8e272a1..06b9d4b 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -69,7 +69,7 @@ if ${clean_first} || [[ ! -d "${chroots}/${repo}-${arch}" ]]; then
"${base_packages[@]}" || abort
else
lock 9 "${chroots}/${repo}-${arch}/root.lock" "Locking clean chroot"
- setarch ${arch} arch-nspawn \
+ arch-nspawn \
-C "@pkgdatadir@/pacman-${repo}.conf" \
-M "@pkgdatadir@/makepkg-${arch}.conf" \
"${chroots}/${repo}-${arch}/root" \
@@ -77,4 +77,4 @@ else
fi
msg "Building in chroot for [${repo}] (${arch})..."
-exec setarch "${arch}" makechrootpkg "${makechrootpkg_args[@]}" -r "${chroots}/${repo}-${arch}"
+exec makechrootpkg -r "${chroots}/${repo}-${arch}" "${makechrootpkg_args[@]}"