ocivm: Unify Portage cache directories
It turns out that QEMU microvms have a very limited number of I/O ports available for e.g. attached disks and shared filesystems. To conserve ports, we'll use a single volume for both distfiles and binpkgs cache directories.gentoo
parent
40bf772034
commit
401a58a874
3
ocivm.sh
3
ocivm.sh
|
@ -15,8 +15,7 @@ ocivm \
|
||||||
-n ${name} \
|
-n ${name} \
|
||||||
-w /tmp/src \
|
-w /tmp/src \
|
||||||
-v "${PWD}":/tmp/src \
|
-v "${PWD}":/tmp/src \
|
||||||
-v distfiles:/var/cache/distfiles:size=4G \
|
-v portagecache:/var/cache:size=16G \
|
||||||
-v packages:/var/cache/binpkgs \
|
|
||||||
-v portage:/var/db/repos/gentoo:size=4G \
|
-v portage:/var/db/repos/gentoo:size=4G \
|
||||||
--tmpfs /usr/aarch64-unknown-linux-gnu/tmp \
|
--tmpfs /usr/aarch64-unknown-linux-gnu/tmp \
|
||||||
--tmpfs /var/tmp \
|
--tmpfs /var/tmp \
|
||||||
|
|
Loading…
Reference in New Issue