Reimplement install_zip.sh in fetch_cvd.

Converts android sparse images to regular image files, and unsparses
image files.

Based on install_zip.sh here:
https://github.com/google/android-cuttlefish/blob/02da94513b6bb9dd534c4e54f81d49df5a050621/host/deploy/install_zip.sh

install_zip.sh also delegates to unpack_boot_imgage.py. This doesn't
seem immediately necessary to implement considering the launcher already
has an implementation that looks like a conversion of the script:
https://github.com/google/android-cuttlefish/blob/9e8ffef/host/deploy/unpack_boot_image.py
https://android.googlesource.com/device/google/cuttlefish_common/+/e13a78a/host/commands/launch/boot_image_unpacker.cc

Bug: 137304531
Test: ./fetch_cvd -run -- -daemon
Change-Id: I9dc35e9a5862a601abceea8634611e098fe301d4
4 files changed
tree: 953169d7db8626fda99481c11af556c1114ab373
  1. common/
  2. guest/
  3. host/
  4. tests/
  5. tools/
  6. Android.bp
  7. Android.mk
  8. OWNERS
  9. TEST_MAPPING