Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archbuild.in
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-01-25 12:21:03 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2019-01-25 12:21:03 +0100
commit22c1f8547f7fcb345289add6a2c06c7def4e571b (patch)
tree08846d1e08489054b2fcf426226ba0ed5f2b5035 /archbuild.in
parentba51ec598c9eb8c03493e4fadfe27b8065296b17 (diff)
parenta800df3fbc55204f66f54248aaf87ba797307f96 (diff)
Merge branch 'master' into i486i486
Diffstat (limited to 'archbuild.in')
-rw-r--r--archbuild.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/archbuild.in b/archbuild.in
index 3dda51d..7ce0804 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -45,7 +45,15 @@ while getopts 'hcr:' arg; do
esac
done
-check_root SOURCE_DATE_EPOCH
+check_root SOURCE_DATE_EPOCH,SRCDEST,SRCPKGDEST,PKGDEST,LOGDEST,MAKEFLAGS,PACKAGER,GNUPGHOME
+
+if [ "${arch}" = "x86_64" ]; then
+ cache_dir=''
+else
+ mkdir -p '/var/cache/archbuild32'
+ cache_dir='-c/var/cache/archbuild32'
+ makechrootpkg_args+=('-d/var/cache/archbuild32:/var/cache/pacman/pkg')
+fi
if [ "${arch}" = "x86_64" ]; then
cache_dir=''