Update with vl805 support

This commit is contained in:
MilhouseVH
2019-10-17 13:46:32 +01:00
parent 522dcdd37d
commit 03d07ab28f
3 changed files with 37 additions and 46 deletions

View File

@@ -568,10 +568,13 @@ mount_flash() {
cleanup_flash() {
progress "Cleaning up flash (if required)"
if [ -f /flash/pieeprom.upd ]; then
if [ -f /flash/pieeprom.bin -o -f /flash/pieeprom.upd -o -f /flash/vl805.bin ]; then
mount -o remount,rw /flash
rm -f /flash/pieeprom.bin /flash/pieeprom.upd
rm -f /flash/pieeprom.bin /flash/pieeprom.upd /flash/pieeprom.sig
rm -f /flash/vl805.bin /flash/vl805.sig
rm -f /flash/recovery.bin /flash/recovery.[0-9][0-9][0-9] /flash/RECOVERY.[0-9][0-9][0-9]
mount -o remount,ro /flash
fi
}