PKGBUILDs/alarm/devtools-alarm/0008-makechrootpkg-gotmpdir.patch

26 lines
840 B
Diff
Raw Normal View History

2022-08-12 02:04:10 +00:00
From 7ce31cb2855ca525dba932e566646f2e337930ed Mon Sep 17 00:00:00 2001
2021-10-01 23:34:58 +00:00
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Thu, 22 Jul 2021 18:22:43 -0600
Subject: [PATCH 8/9] makechrootpkg: gotmpdir
2021-10-01 23:34:58 +00:00
---
makechrootpkg.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/makechrootpkg.in b/makechrootpkg.in
2022-08-12 02:04:10 +00:00
index f0378b3..179e8c6 100644
2021-10-01 23:34:58 +00:00
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
2022-08-12 02:04:10 +00:00
@@ -211,7 +211,7 @@ _chrootbuild() {
sudo --preserve-env=SOURCE_DATE_EPOCH \
--preserve-env=BUILDTOOL \
--preserve-env=BUILDTOOLVER \
- -iu builduser DISTCC_IO_TIMEOUT=1200 DISTCC_DIR='/build/.distcc' bash -c 'cd /startdir; makepkg "$@"' -bash "$@"
+ -iu builduser DISTCC_IO_TIMEOUT=1200 DISTCC_DIR='/build/.distcc' GOTMPDIR='/build' bash -c 'cd /startdir; makepkg "$@"' -bash "$@"
2021-10-01 23:34:58 +00:00
ret=$?
case $ret in
0|14)
--
2022-08-12 02:04:10 +00:00
2.36.1
2021-10-01 23:34:58 +00:00