[Qa-jenkins-scm] [jenkins.debian.net] 01/04: reproducible openwrt and coreboot: cleanup TMPBUILDDIR sooner, to free memory earlier. Fixup error when creating html page
Holger Levsen
holger at moszumanska.debian.org
Fri Jun 12 16:26:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit ced3030c0814e28efb51ba99d494ba16be251add
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri Jun 12 18:03:28 2015 +0200
reproducible openwrt and coreboot: cleanup TMPBUILDDIR sooner, to free memory earlier. Fixup error when creating html page
---
bin/reproducible_coreboot.sh | 5 ++++-
bin/reproducible_openwrt.sh | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh
index 84795f3..c8cefb8 100755
--- a/bin/reproducible_coreboot.sh
+++ b/bin/reproducible_coreboot.sh
@@ -192,6 +192,9 @@ done
cd ..
rm coreboot-builds -r
+# clean up builddir to save space on tmpfs
+rm -r $TMPBUILDDIR/coreboot
+
# run debbindiff on the results
TIMEOUT="30m"
DBDSUITE="unstable"
@@ -233,7 +236,7 @@ BAD_PERCENT=$(echo "scale=1 ; ($BAD_ROMS*100/$ALL_ROMS)" | bc)
#
# finally create the webpage
#
-cd $TMPDIR
+cd $TMPDIR ; mkdir coreboot
PAGE=coreboot/coreboot.html
cat > $PAGE <<- EOF
<!DOCTYPE html>
diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index dbba56d..81cc0eb 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -206,6 +206,9 @@ for i in gcc binutils bzip2 flex python perl make findutils grep diff unzip gawk
done
echo "</table>" >> $TOOLCHAIN_HTML
+# clean up builddir to save space on tmpfs
+rm -r $TMPBUILDDIR/openwrt
+
# run debbindiff on the results
TIMEOUT="30m"
DBDSUITE="unstable"
@@ -245,7 +248,7 @@ GOOD_PERCENT=$(echo "scale=1 ; ($GOOD_IMAGES*100/$ALL_IMAGES)" | bc)
#
# finally create the webpage
#
-cd $TMPDIR
+cd $TMPDIR ; mkdir openwrt
PAGE=openwrt/openwrt.html
cat > $PAGE <<- EOF
<!DOCTYPE html>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list