OSDN Git Service

explicitly check the superblock for differences
authorDoug Zongker <dougz@google.com>
Thu, 11 Sep 2014 16:34:56 +0000 (09:34 -0700)
committerDoug Zongker <dougz@google.com>
Thu, 11 Sep 2014 16:52:04 +0000 (09:52 -0700)
commit7c939fba585e6eb4fd420dbe8af82a870b09285e
treecadb2deb08c3c136dda1f7b5c274ce46a16192f8
parent5c995304223d1baba3199ef3dbf669ef71ec88b3
explicitly check the superblock for differences

When generating incrementals for the system and vendor partitions,
check the first block (which contains the superblock) of the partition
to see if it's what we expect.  If this check fails, give an explicit
log message about the partition having been remounted R/W (the most
likely explanation) and the need to flash to get OTAs working again.

Bug: 17393999
Change-Id: I2093807cbc2ec87c8b29ac46365f91f59b15c2ae
tools/releasetools/common.py
tools/releasetools/ota_from_target_files