aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2024-01-09 13:46:22 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-01-09 13:46:22 +0100
commitbf83f60e13092650e4b0747e52cb849b1ce9e00f (patch)
treef0247007e3cfb1b924fca25d7897f258c4198e0e
parentAdd useflag for calibre (diff)
downloadbinhost-bf83f60e13092650e4b0747e52cb849b1ce9e00f.tar.gz
binhost-bf83f60e13092650e4b0747e52cb849b1ce9e00f.tar.bz2
binhost-bf83f60e13092650e4b0747e52cb849b1ce9e00f.zip
Use tmpfs in builders for /var/tmp
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rwxr-xr-xbuilders/demeter/binhost-update2
-rwxr-xr-xbuilders/jiji/binhost-update2
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}