Add the checksum of the built FL2 to the details shown

asm
Hamish Coleman 8 years ago
parent 894dfa4344
commit eaac31d226

@ -235,7 +235,7 @@ endef
# $1 = FL2 filename
# $2 = ISO image
define rule_iso
$(2): $(1) $(2).bat ; ./slice.insert $(1).slice $(1) $(2) && mcopy -m -o -i $(2)@@$(FAT_OFFSET) $(2).bat ::AUTOEXEC.BAT
$(2): $(1) $(2).bat ; ./slice.insert $(1).slice $(1) $(2) && sed -i "s/__BUILT/`sha1sum $(1)`/" $(2).bat && mcopy -m -o -i $(2)@@$(FAT_OFFSET) $(2).bat ::AUTOEXEC.BAT
endef
#

@ -5,7 +5,6 @@ cls
echo.
echo.
echo This will flash your firmware to support a classic 7-row keyboard
echo Buildinfo: __BUILDINFO
echo.
echo.
echo WARNING: Incorrectly flashing your firmware can damage your laptop.
@ -16,6 +15,9 @@ echo This disc will flash the file __DIR\__FL2
echo.
echo This disk is prepared for __DESC
echo.
echo Buildinfo: __BUILDINFO
echo Built: __BUILT
echo.
pause
echo on
dosflash /sd /ipf ec /file __DIR\__FL2

Loading…
Cancel
Save