lxc-android: Support non-flattened APEXs#15
Conversation
This is required for Android 14 support as AOSP has dropped support for flattened APEXs. This also requires APEX mounting to be moved before container start due to the new vndk APEX containing libc.so.
|
Hmm, looks good to me, I will try to run this on my android 11 and 13 devices this weekend. We might consider to split the apex mounting stuff in a separate tool, not a super fan of having to mix python here with the rest. But can be done in a second moment 😉 |
| target_path="/android/apex/${apex_name}" | ||
|
|
||
| case "$apex_name" in | ||
| com.android.runtime|com.android.art|com.android.i18n|com.android.vndk.*) |
There was a problem hiding this comment.
aren't we filtering too much here? I have quite a lot of more mounted APEXes with the old method
|
Okay, so I checked this on bahamut. Aside from the aforementioned thing on the too strict filter (I would mount them all to be honest):
This makes me wonder... is the problem that |
|
@g7 , hmm, what if we try mount these 4 in mount-android.sh and then do the rest and wait for apexd in lxc-notify? libhybris not finding libc.so caused other issues as well between mount-androis.sh and lxc-notify iirc. |
|
yeah sounds sensible to me, just mount what is needed to wait and then wait |
This is required for Android 14 support as AOSP has dropped support for flattened APEXs. This also requires APEX mounting to be moved before container start due to the new vndk APEX containing libc.so.