Put microdroid into microdroid_super
The dynamic partition is the standard disk configuration for Android.
Let's follow the same for microdroid.
Bug: 180921702
Test: m microdroid_super
Change-Id: I113ca44d8621150663d9e6696205fdb096c35406
diff --git a/microdroid/Android.bp b/microdroid/Android.bp
index 8ff2b36..a44eb26 100644
--- a/microdroid/Android.bp
+++ b/microdroid/Android.bp
@@ -91,6 +91,26 @@
installable: false, // avoid collision with system partition's init.rc
}
+logical_partition {
+ name: "microdroid_super",
+ sparse: true,
+ // TODO(b/181107248): remove this hard-coded value
+ size: "104857600",
+ groups: [
+ {
+ name: "mygroup",
+ // TODO(b/181107248): remove this hard-coded value
+ size: "80000000",
+ partitions: [
+ {
+ name: "system",
+ filesystem: ":microdroid",
+ },
+ ],
+ },
+ ],
+}
+
bootimg {
name: "microdroid_boot-5.10",
ramdisk_module: "microdroid_ramdisk-5.10",