Support dynamic partitions feature by default

Add a new launcher parameter ("-super_image") which defaults on, to
enable the use of the super partition produced as part of a dynamic
partitions build. This supersedes the use of -system_image,
-vendor_image or -product_image; these parameters will no longer be
inferred by default, unless no super.img file is present.

If a super image is specified, a ramdisk is also required. The ramdisk
contains the fstab for setting up the dynamic partitions -- this means
the gsi_fstab feature is also deprecated, and the parameter becomes
unset. The "androidboot.boot_devices" parameter must also be specified
to tell the kernel where to look for the 'vda' device node when it
appears at early boot, as there is no devfs available at that time. It's
harmless to specify this extra flag even without dynamic partitions, so
just specify it always.

Bug: 113175337
Change-Id: If0613ed168ab83144d1ebff90f69d3a85cce66d1
Merged-In: If0613ed168ab83144d1ebff90f69d3a85cce66d1
Signed-off-by: Alistair Strachan <astrachan@google.com>
10 files changed
tree: 2198986e5cbf977a70583654b035d83e91ec4190
  1. common/
  2. guest/
  3. host/
  4. tests/
  5. tools/
  6. Android.bp
  7. Android.mk
  8. OWNERS