summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_lede.sh
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-06-18 23:40:05 +0200
committerHolger Levsen <holger@layer-acht.org>2017-06-19 00:10:45 +0200
commit31df403c8b33cc54a16d07f1930a7079ccaba3a2 (patch)
tree8aca5d7bc9aa29a3d65d3157c79e446963a7ed2f /bin/reproducible_lede.sh
parentdd252fb7adc38adad977b5aefa712ed765aea79d (diff)
downloadjenkins.debian.net-31df403c8b33cc54a16d07f1930a7079ccaba3a2.tar.xz
reproducible_{openwrt,lede}: move toolchain.html creation to remote node
There is no sense in creating the toolchain part on the jenkins master. Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_lede.sh')
-rwxr-xr-xbin/reproducible_lede.sh26
1 files changed, 3 insertions, 23 deletions
diff --git a/bin/reproducible_lede.sh b/bin/reproducible_lede.sh
index 845e91c5..701bf25d 100755
--- a/bin/reproducible_lede.sh
+++ b/bin/reproducible_lede.sh
@@ -76,29 +76,9 @@ build_two_times lede ar71xx_generic_ARCHERC7 "CONFIG_TARGET_ar71xx=y\nCONFIG_TAR
echo "============================================================================="
echo "$(date -u) - Creating Documentation HTML"
echo "============================================================================="
-TOOLCHAIN_HTML=$(mktemp --tmpdir=$TMPDIR)
-echo "<table><tr><th>Target toolchains built</th></tr>" > $TOOLCHAIN_HTML
-for i in $(ls -1d staging_dir/toolchain*|cut -d "-" -f2-|xargs echo) ; do
- echo " <tr><td><code>$i</code></td></tr>" >> $TOOLCHAIN_HTML
-done
-echo "</table>" >> $TOOLCHAIN_HTML
-echo "<table><tr><th>Contents of <code>build_dir/host/</code></th></tr>" >> $TOOLCHAIN_HTML
-for i in $(ls -1 build_dir/host/) ; do
- echo " <tr><td>$i</td></tr>" >> $TOOLCHAIN_HTML
-done
-echo "</table>" >> $TOOLCHAIN_HTML
-echo "<table><tr><th>Downloaded software</th></tr>" >> $TOOLCHAIN_HTML
-for i in $(ls -1 dl/) ; do
- echo " <tr><td>$i</td></tr>" >> $TOOLCHAIN_HTML
-done
-echo "</table>" >> $TOOLCHAIN_HTML
-echo "<table><tr><th>Debian $(cat /etc/debian_version) package on $(dpkg --print-architecture)</th><th>installed version</th></tr>" >> $TOOLCHAIN_HTML
-for i in gcc binutils bzip2 flex python perl make findutils grep diffutils unzip gawk util-linux zlib1g-dev libc6-dev git subversion ; do
- echo " <tr><td>$i</td><td>" >> $TOOLCHAIN_HTML
- dpkg -s $i|grep '^Version'|cut -d " " -f2 >> $TOOLCHAIN_HTML
- echo " </td></tr>" >> $TOOLCHAIN_HTML
-done
-echo "</table>" >> $TOOLCHAIN_HTML
+
+# created & copied by build_two_times()
+TOOLCHAIN_HTML=$TMPDIR/toolchain.html
# clean up builddir to save space on tmpfs
rm -rf $TMPBUILDDIR/lede