summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_lede.sh
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-07-23 21:00:46 +0200
committerHolger Levsen <holger@layer-acht.org>2016-07-23 18:32:32 -0400
commitf827914ce7d26fb9df308b2049e5459081fef849 (patch)
tree1fff9cda37a67e9f68304a39dea99e80c08e8aa5 /bin/reproducible_lede.sh
parent189e0b507722557989885caf175f8b0c24a1e26f (diff)
downloadjenkins.debian.net-f827914ce7d26fb9df308b2049e5459081fef849.tar.xz
reproducible/openwrt|lede: move create_results_dirs upwards to fix dir not exists error
Both builds try to write the logs into this directory even it doesn't exists before Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_lede.sh')
-rwxr-xr-xbin/reproducible_lede.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_lede.sh b/bin/reproducible_lede.sh
index 3c4d77e9..176c58aa 100755
--- a/bin/reproducible_lede.sh
+++ b/bin/reproducible_lede.sh
@@ -45,6 +45,8 @@ git log -1
#./scripts/feeds update -a
#./scripts/feeds install -a
+create_results_dirs lede
+
build_two_times lede ar71xx_generic_ARCHERC7 "CONFIG_TARGET_ar71xx_generic=y\nCONFIG_TARGET_ar71xx_generic_ARCHERC7=y\n"
# for now we only build one architecture until it's at most reproducible
@@ -98,7 +100,6 @@ DBD_BAD_PKGS_HTML=$(mktemp --tmpdir=$TMPDIR)
GOOD_IMAGES=0
ALL_IMAGES=0
SIZE=""
-create_results_dirs lede
cd $TMPDIR/b1
tree .
for i in * ; do
@@ -138,7 +139,6 @@ GOOD_PERCENT_IMAGES=$(echo "scale=1 ; ($GOOD_IMAGES*100/$ALL_IMAGES)" | bc)
# run diffoscope on the packages
GOOD_PACKAGES=0
ALL_PACKAGES=0
-create_results_dirs lede
cd $TMPDIR/b1
for i in * ; do
cd $i