app-emulation/anbox: Tweak dependencies, CONFIG_CHECK and init script
Package-Manager: Portage-3.0.9, Repoman-3.0.2
This commit is contained in:
parent
8aac8b2006
commit
2f6524d6b9
@ -40,6 +40,7 @@ DEPEND="
|
|||||||
media-libs/mesa[egl,gles2]
|
media-libs/mesa[egl,gles2]
|
||||||
media-libs/sdl2-image
|
media-libs/sdl2-image
|
||||||
sys-apps/dbus
|
sys-apps/dbus
|
||||||
|
sys-fs/fuse:3
|
||||||
sys-libs/libcap
|
sys-libs/libcap
|
||||||
|| ( sys-apps/systemd sys-auth/elogind )
|
|| ( sys-apps/systemd sys-auth/elogind )
|
||||||
"
|
"
|
||||||
@ -51,7 +52,7 @@ CONFIG_CHECK="
|
|||||||
~ANDROID_BINDER_IPC
|
~ANDROID_BINDER_IPC
|
||||||
~ASHMEM
|
~ASHMEM
|
||||||
~BLK_DEV_LOOP
|
~BLK_DEV_LOOP
|
||||||
~FUSE
|
~FUSE_FS
|
||||||
~SQUASHFS
|
~SQUASHFS
|
||||||
~SQUASHFS_XZ
|
~SQUASHFS_XZ
|
||||||
~SQUASHFS_XATTR
|
~SQUASHFS_XATTR
|
||||||
|
@ -40,6 +40,7 @@ DEPEND="
|
|||||||
media-libs/mesa[egl,gles2]
|
media-libs/mesa[egl,gles2]
|
||||||
media-libs/sdl2-image
|
media-libs/sdl2-image
|
||||||
sys-apps/dbus
|
sys-apps/dbus
|
||||||
|
sys-fs/fuse:3
|
||||||
sys-libs/libcap
|
sys-libs/libcap
|
||||||
|| ( sys-apps/systemd sys-auth/elogind )
|
|| ( sys-apps/systemd sys-auth/elogind )
|
||||||
"
|
"
|
||||||
@ -51,7 +52,7 @@ CONFIG_CHECK="
|
|||||||
~ANDROID_BINDER_IPC
|
~ANDROID_BINDER_IPC
|
||||||
~ASHMEM
|
~ASHMEM
|
||||||
~BLK_DEV_LOOP
|
~BLK_DEV_LOOP
|
||||||
~FUSE
|
~FUSE_FS
|
||||||
~SQUASHFS
|
~SQUASHFS
|
||||||
~SQUASHFS_XZ
|
~SQUASHFS_XZ
|
||||||
~SQUASHFS_XATTR
|
~SQUASHFS_XATTR
|
||||||
|
@ -20,6 +20,11 @@ start_pre() {
|
|||||||
modprobe loop
|
modprobe loop
|
||||||
modprobe tun
|
modprobe tun
|
||||||
|
|
||||||
|
if ! [[ -d /dev/binderfs ]]; then
|
||||||
|
mkdir /dev/binderfs
|
||||||
|
mount -t binder binder /dev/binderfs
|
||||||
|
fi
|
||||||
|
|
||||||
if ip link show anbox0 >/dev/null 2>&1; then
|
if ip link show anbox0 >/dev/null 2>&1; then
|
||||||
ewarn "anbox0 network interface already exists"
|
ewarn "anbox0 network interface already exists"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user