Skip to content
Snippets Groups Projects
Verified Commit b09dc1f2 authored by Johannes Schauer Marin Rodrigues's avatar Johannes Schauer Marin Rodrigues
Browse files

sbin/reform-flash-uboot: adjust checksum for u-boot 2023-07-04

parent 5bb3957b
No related branches found
No related tags found
No related merge requests found
reform-tools (1.24) reform; urgency=medium
* sbin/reform-flash-uboot: adjust checksum for u-boot 2023-07-04
-- Johannes Schauer Marin Rodrigues <josch@debian.org> Tue, 11 Jul 2023 01:49:55 +0200
reform-tools (1.23) reform; urgency=medium
* reform2-lpc-dkms: add missing header for linux 6.4
......
......@@ -37,7 +37,16 @@ if [ "$#" -eq 0 ]; then
exit 0
fi
if ! echo 9d1eacedd8ea32284395bdfed05d112a1c445815 /boot/flash.bin | sha1sum --quiet --strict --check; then
version=
for h in 9d1eacedd8ea32284395bdfed05d112a1c445815 ${version#2023-01-25} \
41d2ba5fcc65f26224f7d1afed650e86662cea27 ${version#2023-07-04}; do
if echo "$h /boot/flash.bin" | sha1sum --strict --check >/dev/null 2>&1; then
version=1
break
fi
done
if [ -z "$version" ]; then
echo "Incorrect checksum for /boot/flash.bin" >&2
echo "Either flash manually, or run without --offline to download the latest uboot version" >&2
exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment