summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_lede.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/reproducible_lede.sh b/bin/reproducible_lede.sh
index 659f40e5..845e91c5 100755
--- a/bin/reproducible_lede.sh
+++ b/bin/reproducible_lede.sh
@@ -142,6 +142,11 @@ for target in * ; do
continue
fi
# lets do a short sha256sum here, if not equal call diffoscope
+ echo "debug sha256: \"$TMPDIR/b1/targets/$target/$subtarget/$image\" \"$TMPDIR/b2/targets/$target/$subtarget/$image\""
+ sha256sum "$TMPDIR/b1/targets/$target/$subtarget/$image" "$TMPDIR/b2/targets/$target/$subtarget/$image"
+ echo "$(sha256sum "$TMPDIR/b1/targets/$target/$subtarget/$image" "$TMPDIR/b2/targets/$target/$subtarget/$image" \
+ | cut -f 1 -d ' ' | uniq -c | wc -l)" '!=' "1"
+
if [ "$(sha256sum "$TMPDIR/b1/targets/$target/$subtarget/$image" "$TMPDIR/b2/targets/$target/$subtarget/$image" \
| cut -f 1 -d ' ' | uniq -c | wc -l)" != "1" ] ; then
call_diffoscope targets/$target/$subtarget $image