From e815a66c4df85c3e040fdd1f1087ab345933c801 Mon Sep 17 00:00:00 2001 From: Matthew Maurer Date: Mon, 1 Apr 2019 15:42:19 -0700 Subject: Add com.android.runtime APEX This bloats the image a bit, but it's mandatory now - we won't get past early boot without it, since apexd won't signal init that it's done loading. If you have seen repeated log lines about binder transaction failures, this is the fix for that. Bug: 124277696 Test: Boot with trusty, actually get to shell again Change-Id: I4a8370dcc796834a2b76456b5b7d0a40e87f1b56 --- BoardConfig.mk | 2 +- qemu_trusty_base.mk | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index b4a32db..50a330f 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -36,7 +36,7 @@ TARGET_USES_64_BIT_BINDER := true BUILD_QEMU_IMAGES := true TARGET_USERIMAGES_USE_EXT4 := true -BOARD_SYSTEMIMAGE_PARTITION_SIZE := 67108864 # 64M +BOARD_SYSTEMIMAGE_PARTITION_SIZE := 268435456 # 256M BOARD_USERDATAIMAGE_PARTITION_SIZE := 4194304 # 4M TARGET_COPY_OUT_VENDOR := vendor # ~100 MB vendor image. Please adjust system image / vendor image sizes diff --git a/qemu_trusty_base.mk b/qemu_trusty_base.mk index e910048..7862ebe 100644 --- a/qemu_trusty_base.mk +++ b/qemu_trusty_base.mk @@ -22,6 +22,7 @@ PRODUCT_PACKAGES += \ adbd \ android.hidl.allocator@1.0-service \ apexd \ + com.android.runtime \ dhcpclient \ hwservicemanager \ init \ -- cgit v1.2.3