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:38:01 +0000 (09:38 -0700)
commitb34fcce08cc9ab358481e672d83ff16513c4ac37
tree4ffa9267f76293b8c5859719549e45a77a2c72b5
parent0052f75f88abbe4d16ff3b921be78b848fd4f6f9
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: Ifd2132b428dbc4907527291712690204a3664ac0
tools/releasetools/common.py
tools/releasetools/ota_from_target_files