commit | 6aece33b3f3af6a161e326af36bc894427fcf5ad | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@android.com> | Mon Feb 01 14:40:12 2010 -0800 |
committer | Doug Zongker <dougz@android.com> | Mon Feb 01 14:40:12 2010 -0800 |
tree | b164457ed1f664a0d195f30933b70386687a0887 | |
parent | aa062531aa3e740b6cf7d3690fd5310e7fdf03f2 [diff] |
add a one-argument version of package_extract_file Add a version of package_extract_file that returns the file data as its return value (to be consumed by some other edify function that expects to receive a bunch of binary data as an argument). Lets us avoid having two copies of a big file in memory (extracting it into /tmp, which is a ramdisk, and then having something load it into memory) when doing things like radio updates. Change-Id: Ie26ece5fbae457eb0ddcd8a13d74d78a769fbc70