sample_images: Support sparse files.
The sample images are mostly sparse space. This patch stores those
files as sparse files in the .tar.bz2 files and simplifies the rules
to extract them directly onto the destination directory.
acp still doesn't support sparse files, so when these files get copied
to the /data partition, they won't be sparse files. Nevertheless, this
patch is still required.
Bug: 26955860
TEST=mmma showcommands system/update_engine; `du -hs` the intermediate files.
(cherry picked from commit a3553e42ce7255034044f364f72516b29417bbdc)
Change-Id: I6abe3456d412248b5df13129936463a4efc120ba
3 files changed