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.gentoo
parent
401a58a874
commit
d8e0af477a
2
ocivm.sh
2
ocivm.sh
|
@ -17,7 +17,5 @@ ocivm \
|
||||||
-v "${PWD}":/tmp/src \
|
-v "${PWD}":/tmp/src \
|
||||||
-v portagecache:/var/cache:size=16G \
|
-v portagecache:/var/cache:size=16G \
|
||||||
-v portage:/var/db/repos/gentoo:size=4G \
|
-v portage:/var/db/repos/gentoo:size=4G \
|
||||||
--tmpfs /usr/aarch64-unknown-linux-gnu/tmp \
|
|
||||||
--tmpfs /var/tmp \
|
|
||||||
localhost/cross-aarch64-unknown-linux-gnu \
|
localhost/cross-aarch64-unknown-linux-gnu \
|
||||||
"$@"
|
"$@"
|
||||||
|
|
Loading…
Reference in New Issue