wz_mini_hacks/generate_checksum.sh

11 lines
271 B
Bash
Raw Normal View History

#!/bin/bash
#set release date before generation
2024-01-02 05:30:57 +00:00
date +"%Y-%m-%d_%H:%M:%S" > 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