summaryrefslogtreecommitdiffstats
path: root/group-base
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-08-30 14:30:44 +0200
committerWynn Wolf Arbor2020-08-30 14:30:44 +0200
commit2043ca5fe334a521eaa89b771a66a697a989cb63 (patch)
treef94081503a9bd243dfafc75f081e5efe365cbf46 /group-base
parentfcf48dfd3dacbd957e3e9379868ce1f879f201ce (diff)
downloadportage-roles-2043ca5fe334a521eaa89b771a66a697a989cb63.tar.gz
group-base: Add env file that disables building in a tmpfs
Some packages (most notably www-client/firefox) need a considerable amount of space for temporary build files. Our systems all have PORTAGE_TMPDIR mounted on a tmpfs. That means that temporary build files are stored directly in RAM. This is not feasible for packages that need more than 10 gigabytes of space - even on our most beefy systems. To disable this on a per-package basis, add an env file that points PORTAGE_TMPDIR to a directory owned by portage:portage that lies outside of the tmpfs.
Diffstat (limited to 'group-base')
-rw-r--r--group-base/env/notmpfs1
1 files changed, 1 insertions, 0 deletions
diff --git a/group-base/env/notmpfs b/group-base/env/notmpfs
new file mode 100644
index 0000000..b8a96f4
--- /dev/null
+++ b/group-base/env/notmpfs
@@ -0,0 +1 @@
+PORTAGE_TMPDIR="/var/tmp/notmpfs"