summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_openwrt.sh
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2015-10-21 16:33:07 -0700
committerHolger Levsen <holger@layer-acht.org>2015-10-21 19:41:28 -0500
commit2074df2c176e28f0c80e7a7a1226a762fe155def (patch)
tree5db3403c8b2ffc8fffa7e6672c2fb3966dea3bde /bin/reproducible_openwrt.sh
parentccf4dee56e1c2ea7b1277919aca087728db762d0 (diff)
downloadjenkins.debian.net-2074df2c176e28f0c80e7a7a1226a762fe155def.tar.xz
openwrt: trivial style changes
Add a "documentation being generated" header to stdout, and parameterize the openwrt git repo url to a variable up top
Diffstat (limited to 'bin/reproducible_openwrt.sh')
-rwxr-xr-xbin/reproducible_openwrt.sh6
1 files changed, 5 insertions, 1 deletions
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 <reiner@reiner-h.de>
# 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 "<table><tr><th>Target toolchains built</th></tr>" > $TOOLCHAIN_HTML
for i in $(ls -1d staging_dir/toolchain*|cut -d "-" -f2-|xargs echo) ; do