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
This commit is contained in:
Jiyong Park 2021-02-24 01:39:51 +09:00
parent 3eb11f74cd
commit c1500e8c32
2 changed files with 21 additions and 1 deletions

View File

@ -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",

View File

@ -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