diff options
author | Wynn Wolf Arbor | 2020-08-30 14:30:44 +0200 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-08-30 14:30:44 +0200 |
commit | 2043ca5fe334a521eaa89b771a66a697a989cb63 (patch) | |
tree | f94081503a9bd243dfafc75f081e5efe365cbf46 /group-base | |
parent | fcf48dfd3dacbd957e3e9379868ce1f879f201ce (diff) | |
download | portage-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/notmpfs | 1 |
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" |