summaryrefslogtreecommitdiffstats
path: root/updater/Android.mk
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2014-07-09 11:50:05 -0500
committerTom Marshall <tdm@cyngn.com>2015-11-25 15:35:47 -0800
commitbea646deee644f24384caf321fb497dd530ba2f0 (patch)
treec9b03a2d069a730214148d17088f8e97c0dbc521 /updater/Android.mk
parent62718eb5237a9f60f05aaf10029c6336c3f8d53f (diff)
downloadbootable_recovery-bea646deee644f24384caf321fb497dd530ba2f0.zip
bootable_recovery-bea646deee644f24384caf321fb497dd530ba2f0.tar.gz
bootable_recovery-bea646deee644f24384caf321fb497dd530ba2f0.tar.bz2
Do not wipe block misc on bootloader msg update
When set_bootloader_message_block() is called, it fopens /misc in write binary mode, wiping all contents other than what is being written. The bootloader msg structure is only 1024+32+32 bytes, so some manufacturers store more than just a bootloader msg on /misc. fopen in read+append mode so that only the bootloader msg is written and the rest of the partition is left untouched. Change-Id: I2d2fbdf067282744864a19d404ca7dc12f688a98
Diffstat (limited to 'updater/Android.mk')
0 files changed, 0 insertions, 0 deletions