From 2074df2c176e28f0c80e7a7a1226a762fe155def Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 21 Oct 2015 16:33:07 -0700 Subject: openwrt: trivial style changes Add a "documentation being generated" header to stdout, and parameterize the openwrt git repo url to a variable up top --- bin/reproducible_openwrt.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh index af092519..ee800f0a 100755 --- a/bin/reproducible_openwrt.sh +++ b/bin/reproducible_openwrt.sh @@ -4,6 +4,7 @@ # © 2015 Reiner Herrmann # released under the GPLv=2 +OPENWRT_GIT_REPO=git://git.openwrt.org/openwrt.git DEBUG=false . /srv/jenkins/bin/common-functions.sh common_init "$@" @@ -149,7 +150,7 @@ cd $TMPBUILDDIR echo "=============================================================================" echo "$(date -u) - Cloning OpenWrt git repository." echo "=============================================================================" -git clone --depth 1 git://git.openwrt.org/openwrt.git +git clone --depth 1 $OPENWRT_GIT_REPO openwrt cd openwrt OPENWRT="$(git log -1)" OPENWRT_VERSION=$(git describe --always) @@ -171,6 +172,9 @@ build_two_times ramips_rt288x_RTN15 "CONFIG_TARGET_ramips=y\nCONFIG_TARGET_ramip # # create html about toolchain used # +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 -- cgit v1.2.3-70-g09d2
Target toolchains built