commit | c9d6e4ff514b91b0ef08facb4dd480f166beae84 | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@android.com> | Mon Feb 24 16:02:50 2014 -0800 |
committer | Doug Zongker <dougz@android.com> | Mon Feb 24 16:02:50 2014 -0800 |
tree | 8c269348a47c58bc35d004ce924ea417864e6300 | |
parent | 0ac1cbaa76f1ab88ed575b197b06d042e015c10e [diff] |
support don't-care maps when writing the system image Make package_extract_file() take an optional third argument which is the pathname (in the package zip) of a map of don't-care regions to skip over when writing the file. Modify syspatch() to take source and target don't-care maps and use them when patching the system partition. Add the wipe_block_device() function to do a discard of all data on the partition. Change-Id: I8c856054edfb6aab2f3e5177f16d9d78add20be4