mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
26 lines
914 B
Diff
26 lines
914 B
Diff
|
From ab24ea00b2752d895d7e1450154ee3f52afa66ea Mon Sep 17 00:00:00 2001
|
||
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
||
|
Date: Thu, 22 Jul 2021 18:22:43 -0600
|
||
|
Subject: [PATCH 8/8] makechrootpkg: gotmpdir
|
||
|
|
||
|
---
|
||
|
makechrootpkg.in | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/makechrootpkg.in b/makechrootpkg.in
|
||
|
index 7c493b5..a8b5cb3 100644
|
||
|
--- a/makechrootpkg.in
|
||
|
+++ b/makechrootpkg.in
|
||
|
@@ -214,7 +214,7 @@ _chrootbuild() {
|
||
|
# https://bugzilla.sudo.ws/show_bug.cgi?id=765
|
||
|
mkdir /build/.distcc
|
||
|
chown builduser /build/.distcc
|
||
|
- sudo --preserve-env=SOURCE_DATE_EPOCH -iu builduser DISTCC_IO_TIMEOUT=1200 DISTCC_DIR='/build/.distcc' bash -c 'cd /startdir; makepkg "$@"' -bash "$@"
|
||
|
+ sudo --preserve-env=SOURCE_DATE_EPOCH -iu builduser DISTCC_IO_TIMEOUT=1200 DISTCC_DIR='/build/.distcc' GOTMPDIR='/build' bash -c 'cd /startdir; makepkg "$@"' -bash "$@"
|
||
|
ret=$?
|
||
|
case $ret in
|
||
|
0|14)
|
||
|
--
|
||
|
2.30.0
|
||
|
|