commit:     bf83f60e13092650e4b0747e52cb849b1ce9e00f
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  9 12:46:22 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue Jan  9 12:46:22 2024 +0000
URL:        https://gitweb.gentoo.org/proj/binhost.git/commit/?id=bf83f60e

Use tmpfs in builders for /var/tmp

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 builders/demeter/binhost-update | 2 +-
 builders/jiji/binhost-update    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/builders/demeter/binhost-update b/builders/demeter/binhost-update
index 1b595dc..9e6822b 100755
--- a/builders/demeter/binhost-update
+++ b/builders/demeter/binhost-update
@@ -98,7 +98,7 @@ for n in ${NSPAWN_NAMES} ; do
        cd /var/lib/machines/${n}/etc/binhost &>> ${TMPFILE}
        git pull -q &>> ${TMPFILE}
        cd /root &>> ${TMPFILE}
-       systemd-nspawn --bind /var/cache/distfiles --bind-ro 
/var/db/repos/gentoo -M ${n} /root/bin/run-update &>> ${TMPFILE}
+       systemd-nspawn --bind /var/cache/distfiles --bind-ro 
/var/db/repos/gentoo --tmpfs=/var/tmp:mode=1777,size=32g -M ${n} 
/root/bin/run-update &>> ${TMPFILE}
 done
 
 

diff --git a/builders/jiji/binhost-update b/builders/jiji/binhost-update
index 4ac9236..f9d1b7b 100755
--- a/builders/jiji/binhost-update
+++ b/builders/jiji/binhost-update
@@ -98,7 +98,7 @@ for n in ${NSPAWN_NAMES} ; do
        cd /var/lib/machines/${n}/etc/binhost &>> ${TMPFILE}
        git pull -q &>> ${TMPFILE}
        cd /root &>> ${TMPFILE}
-       systemd-nspawn --bind /var/cache/distfiles --bind-ro 
/var/db/repos/gentoo -M ${n} /root/bin/run-update &>> ${TMPFILE}
+       systemd-nspawn --bind /var/cache/distfiles --bind-ro 
/var/db/repos/gentoo --tmpfs=/var/tmp:mode=1777,size=64g -M ${n} 
/root/bin/run-update &>> ${TMPFILE}
 done
 
 upsync_binpackages /var/lib/machines/binhost-arm64-kde/var/cache/binpkgs 
arm64/17.0/arm64 &>> ${TMPFILE}

Reply via email to