diff options
author | Steve Kondik <steve@cyngn.com> | 2016-08-14 03:55:08 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-08-14 14:10:53 -0700 |
commit | 48f8df8ddb2eb3b32dbc44dcb50fcfc01bfbc8bd (patch) | |
tree | 6a0ab4c16feeb3c44beae37e033499c7a4314d18 /charger/healthd_board_cm.cpp | |
parent | 049d4c52bed067861289c12e175a227da36f656f (diff) | |
download | vendor_replicant-48f8df8ddb2eb3b32dbc44dcb50fcfc01bfbc8bd.zip vendor_replicant-48f8df8ddb2eb3b32dbc44dcb50fcfc01bfbc8bd.tar.gz vendor_replicant-48f8df8ddb2eb3b32dbc44dcb50fcfc01bfbc8bd.tar.bz2 |
extract-utils: Add pinning support
* In many cases, we would like to keep certain files which do not
exactly match what might be extracted from a factory ROM. This
becomes extremely annoying over time to manually reconstruct,
and it's easy to miss these special cases when updating to a
new vendor release. It's also useful to flag additions which
aren't found in the upstream release at all.
* To solve this, we can now "pin" files to a specific sha1 hash.
Simply append the sha1sum of the file to the appropriate line
in your bloblist, prepended by a | delimiter.
* This works by backing up the current files first, running the
extraction, then checking if any pinned files need to be
restored.
* Also add an exit trap to clean up all of our tempfiles
Change-Id: I2010b5175b5701e19a3efb112e8907062ca37d66
Diffstat (limited to 'charger/healthd_board_cm.cpp')
0 files changed, 0 insertions, 0 deletions