From 2043ca5fe334a521eaa89b771a66a697a989cb63 Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Sun, 30 Aug 2020 14:30:44 +0200 Subject: 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. --- group-base/env/notmpfs | 1 + 1 file changed, 1 insertion(+) create mode 100644 group-base/env/notmpfs (limited to 'group-base/env') 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" -- cgit v1.2.3-2-gb3c3