wz_mini_hacks/generate_checksum.sh
2022-07-13 18:02:17 -07:00

11 lines
250 B
Bash
Executable File

#!/bin/bash
#set release date before generation
date > SD_ROOT/wz_mini/usr/bin/app.ver
rm -f file.chk
find SD_ROOT/ -type f -exec md5sum "{}" + > file.chk
#Ignore demo.bin
find v2_install -type f ! -name "demo.bin" -exec md5sum "{}" + >> file.chk