PKGBUILDs/alarm/devtools-alarm/0003-makechrootpkg-distcc.patch

29 lines
668 B
Diff
Raw Normal View History

2015-12-05 17:10:02 +00:00
From f81c6b778a9057e54d633c66bdd6de24c028faea Mon Sep 17 00:00:00 2001
2014-12-30 02:41:19 +00:00
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Sun, 28 Dec 2014 22:32:15 -0700
2015-12-05 17:10:02 +00:00
Subject: [PATCH 3/6] makechrootpkg: distcc
2014-12-30 02:41:19 +00:00
---
makechrootpkg.in | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/makechrootpkg.in b/makechrootpkg.in
2015-10-07 00:07:31 +00:00
index 64bdbcb..ae2b3a3 100644
2014-12-30 02:41:19 +00:00
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
2015-10-07 00:07:31 +00:00
@@ -290,7 +290,10 @@ _chrootbuild() {
exit 1
fi
2013-05-31 18:39:05 +00:00
2014-12-30 02:41:19 +00:00
- sudo -u builduser makepkg "$@"
+ mkdir /build/.distcc
2014-12-30 02:41:19 +00:00
+ chown builduser /build/.distcc
+
+ sudo -u builduser DISTCC_IO_TIMEOUT=0 DISTCC_DIR='/build/.distcc' makepkg "$@"
}
2013-05-31 18:39:05 +00:00
2014-12-30 02:41:19 +00:00
move_products() {
--
2015-12-05 17:10:02 +00:00
2.6.2
2014-12-30 02:41:19 +00:00