From 31df403c8b33cc54a16d07f1930a7079ccaba3a2 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Sun, 18 Jun 2017 23:40:05 +0200 Subject: 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 --- bin/reproducible_lede.sh | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) (limited to 'bin/reproducible_lede.sh') 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 "" > $TOOLCHAIN_HTML -for i in $(ls -1d staging_dir/toolchain*|cut -d "-" -f2-|xargs echo) ; do - echo " " >> $TOOLCHAIN_HTML -done -echo "
Target toolchains built
$i
" >> $TOOLCHAIN_HTML -echo "" >> $TOOLCHAIN_HTML -for i in $(ls -1 build_dir/host/) ; do - echo " " >> $TOOLCHAIN_HTML -done -echo "
Contents of build_dir/host/
$i
" >> $TOOLCHAIN_HTML -echo "" >> $TOOLCHAIN_HTML -for i in $(ls -1 dl/) ; do - echo " " >> $TOOLCHAIN_HTML -done -echo "
Downloaded software
$i
" >> $TOOLCHAIN_HTML -echo "" >> $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 " " >> $TOOLCHAIN_HTML -done -echo "
Debian $(cat /etc/debian_version) package on $(dpkg --print-architecture)installed version
$i" >> $TOOLCHAIN_HTML - dpkg -s $i|grep '^Version'|cut -d " " -f2 >> $TOOLCHAIN_HTML - echo "
" >> $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 -- cgit v1.2.3-54-g00ecf