summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_lede.sh4
-rwxr-xr-xbin/reproducible_openwrt.sh4
2 files changed, 4 insertions, 4 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
diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index 3f37ea29..095a5eed 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -45,6 +45,8 @@ git log -1
#./scripts/feeds update -a
#./scripts/feeds install -a
+create_results_dirs openwrt
+
build_two_times openwrt 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 openwrt
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 openwrt
cd $TMPDIR/b1
for i in * ; do
cd $i