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
Dustin 2023-03-30 10:58:49 -05:00
parent 40bf772034
commit 401a58a874
1 changed files with 1 additions and 2 deletions

View File

@ -15,8 +15,7 @@ ocivm \
-n ${name} \
-w /tmp/src \
-v "${PWD}":/tmp/src \
-v distfiles:/var/cache/distfiles:size=4G \
-v packages:/var/cache/binpkgs \
-v portagecache:/var/cache:size=16G \
-v portage:/var/db/repos/gentoo:size=4G \
--tmpfs /usr/aarch64-unknown-linux-gnu/tmp \
--tmpfs /var/tmp \