aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'builders/jiji/binhost-update')
-rwxr-xr-xbuilders/jiji/binhost-update1
1 files changed, 1 insertions, 0 deletions
diff --git a/builders/jiji/binhost-update b/builders/jiji/binhost-update
index 17953d0..3c7e6bb 100755
--- a/builders/jiji/binhost-update
+++ b/builders/jiji/binhost-update
@@ -99,6 +99,7 @@ for n in ${NSPAWN_NAMES} ; do
echo Machine ${n} &>> ${TMPFILE}
echo &>> ${TMPFILE}
cd /var/lib/machines/${n}/etc/binhost &>> ${TMPFILE}
+ git reset --hard &>> ${TMPFILE}
git pull -q &>> ${TMPFILE}
cd /root &>> ${TMPFILE}
systemd-nspawn --bind /var/cache/distfiles --bind-ro /var/db/repos/gentoo --tmpfs=/var/tmp:mode=1777,size=${TMPFS_SIZE}g -M ${n} /root/bin/run-update &>> ${TMPFILE}