Merge remote-tracking branch 'upstream/master'

This commit is contained in:
hedmo 2021-01-01 17:04:50 +01:00
commit 58dea29d24
3 changed files with 9 additions and 2 deletions

View File

@ -40,6 +40,7 @@ DEPEND="
media-libs/mesa[egl,gles2]
media-libs/sdl2-image
sys-apps/dbus
sys-fs/fuse:3
sys-libs/libcap
|| ( sys-apps/systemd sys-auth/elogind )
"
@ -51,7 +52,7 @@ CONFIG_CHECK="
~ANDROID_BINDER_IPC
~ASHMEM
~BLK_DEV_LOOP
~FUSE
~FUSE_FS
~SQUASHFS
~SQUASHFS_XZ
~SQUASHFS_XATTR

View File

@ -40,6 +40,7 @@ DEPEND="
media-libs/mesa[egl,gles2]
media-libs/sdl2-image
sys-apps/dbus
sys-fs/fuse:3
sys-libs/libcap
|| ( sys-apps/systemd sys-auth/elogind )
"
@ -51,7 +52,7 @@ CONFIG_CHECK="
~ANDROID_BINDER_IPC
~ASHMEM
~BLK_DEV_LOOP
~FUSE
~FUSE_FS
~SQUASHFS
~SQUASHFS_XZ
~SQUASHFS_XATTR

View File

@ -20,6 +20,11 @@ start_pre() {
modprobe loop
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
ewarn "anbox0 network interface already exists"
else