podman-build: Mount /mnt/gentoo as a volume

Using a bind-mount instead of an overlay should marginally increase
performance.
Dustin 2023-02-13 22:54:40 -06:00
parent 8a2bb1666d
commit 6c588d59a2
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ cid=$(podman run \
-v packages:/var/cache/binpkgs \
-v distfiles:/var/cache/distfiles \
-v packages:/usr/${target}/var/cache/binpkgs \
-v /mnt/gentoo \
-v ${PWD}:/tmp/build:rw,z \
-w /tmp/build \
-d \