commit:     f0d3daff9691933f6f41a14ee838c7914ecab2cb
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 13 16:46:49 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Fri Sep 13 16:46:49 2024 +0000
URL:        https://gitweb.gentoo.org/proj/binhost.git/commit/?id=f0d3daff

ephemeral builds: make PKGDIR actually bind to the right place...

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 builders/milou/binhost-update | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builders/milou/binhost-update b/builders/milou/binhost-update
index 2688a56..e64cd1e 100755
--- a/builders/milou/binhost-update
+++ b/builders/milou/binhost-update
@@ -134,7 +134,7 @@ for n in ${NSPAWN_NAMES} ; do
                for variant in ${machinedir}/${builder}/variants/*; do
                        [[ -d ${variant} ]] || break
                        echo "Variant: ${variant}" &>> ${TMPFILE}
-                       "${nspawn_command[@]}" --ephemeral --bind 
${machinedir}/var/cache/binpkgs -M ${n} /root/bin/run-update ${variant##*/} &>> 
${TMPFILE}
+                       "${nspawn_command[@]}" --ephemeral --bind 
${machinedir}/var/cache/binpkgs:/var/cache/binpkgs -M ${n} /root/bin/run-update 
${variant##*/} &>> ${TMPFILE}
                        let "anyfail+=$?"
                done
        fi

Reply via email to