From caa303ba3d18f47571fd48704106357e7e49ec49 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 30 Mar 2023 10:56:11 -0500 Subject: [PATCH] start-container: Change workdir to match ocivm The `ocivm.sh` script mounts the source directory at `/tmp/src`, since we use `/tmp/build` as the output directory. For consistency, the `start-container.sh` script, although it's mostly unused anymore, now does the same. --- start-container.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start-container.sh b/start-container.sh index 5489b97..0d016fc 100755 --- a/start-container.sh +++ b/start-container.sh @@ -13,8 +13,8 @@ podman run \ -v distfiles:/var/cache/distfiles \ -v packages:/usr/${target}/var/cache/binpkgs \ -v /mnt/gentoo \ - -v ${PWD}:/tmp/build:rw,z \ - -w /tmp/build \ + -v ${PWD}:/tmp/src:rw,z \ + -w /tmp/src \ -d \ -e FEATURES='-ipc-sandbox -network-sandbox -pid-sandbox' \ cross-${target} \