diff --git a/microdroid/Android.bp b/microdroid/Android.bp index 8ff2b367..a44eb263 100644 --- a/microdroid/Android.bp +++ b/microdroid/Android.bp @@ -91,6 +91,26 @@ prebuilt_etc { 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", diff --git a/microdroid/fstab b/microdroid/fstab index 5887451f..494f5b45 100644 --- a/microdroid/fstab +++ b/microdroid/fstab @@ -1 +1 @@ -/dev/block/by-name/super /system ext4 noatime,ro,errors=panic wait,first_stage_mount +system /system ext4 noatime,ro,errors=panic wait,first_stage_mount,logical