I am trying to create an lxc container based on android 11 - arm64, but I am not really successful with it yet. The container is not starting up with the below failure.
lxc-start android 20250108130827.776 NOTICE utils - utils.c:lxc_drop_groups:1368 - Dropped supplimentary groups
lxc-start android 20250108130827.776 NOTICE start - start.c:start:2161 - Exec’ing “/var/lib/lxc/android/rootfs/init”
lxc-start android 20250108130827.776 ERROR start - start.c:start:2164 - No such file or directory - Failed to exec “/var/lib/lxc/android/rootfs/init”
lxc-start android 20250108130827.781 ERROR sync - sync.c:sync_wait:34 - An error occurred in another process (expected sequence number 7)
I made sure the init.rc file is present in the path - /var/lib/lxc/android/rootfs/init
I have tried going through the anbox solution, but the problem is it is based on a very old image - android 7.
My requirement is to use an lxc container where I can run/test my android startup services with init.rc files.
Thanks in advance.