From d8e0af477ab6e95d3911ca9c29d0b0c3d16c4a0b Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 30 Mar 2023 11:01:16 -0500 Subject: [PATCH] ocivm: Do not mount tmpfs for Portage Very large packages cannot be built with `PORTAGE_TMPDIR` on a tmpfs mount, unless the VM has a tremendous amount of RAM. The performance improvement is negligible anyway, so let's not bother. --- ocivm.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/ocivm.sh b/ocivm.sh index 4dd7fd7..951132d 100755 --- a/ocivm.sh +++ b/ocivm.sh @@ -17,7 +17,5 @@ ocivm \ -v "${PWD}":/tmp/src \ -v portagecache:/var/cache:size=16G \ -v portage:/var/db/repos/gentoo:size=4G \ - --tmpfs /usr/aarch64-unknown-linux-gnu/tmp \ - --tmpfs /var/tmp \ localhost/cross-aarch64-unknown-linux-gnu \ "$@"