From: Erfan Abdi Date: Sun, 18 Jul 2021 13:11:13 +0000 (+0430) Subject: anbox: Provide powervr GPU dependencies X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/b5e46b24c821d87b67de3b63e627a83a85adb05f?ds=inline anbox: Provide powervr GPU dependencies --- diff --git a/lxc-configs/config_nodes b/lxc-configs/config_nodes index b6e2a16..82ee538 100644 --- a/lxc-configs/config_nodes +++ b/lxc-configs/config_nodes @@ -12,6 +12,7 @@ lxc.mount.entry = /dev/char dev/char none bind,create=dir,optional 0 0 # Graphic dev nodes lxc.mount.entry = /dev/kgsl-3d0 dev/kgsl-3d0 none bind,create=file,optional 0 0 lxc.mount.entry = /dev/mali0 dev/mali0 none bind,create=file,optional 0 0 +lxc.mount.entry = /dev/pvr_sync dev/pvr_sync none bind,create=file,optional 0 0 lxc.mount.entry = /dev/pmsg0 dev/pmsg0 none bind,create=file,optional 0 0 lxc.mount.entry = /dev/fb0 dev/fb0 none bind,create=file,optional 0 0 lxc.mount.entry = /dev/graphics/fb0 dev/graphics/fb0 none bind,create=file,optional 0 0 diff --git a/scripts/vendor-fixup.sh b/scripts/vendor-fixup.sh index d101d55..e90d8c9 100644 --- a/scripts/vendor-fixup.sh +++ b/scripts/vendor-fixup.sh @@ -22,6 +22,12 @@ if [ -f /vendor/lib64/libladder.so ] && [ ! -f /home/anbox/tmp_vendor/lib64/libl wget https://github.com/GS290-dev/gigaset_gs290_dump/raw/full_k63v2_64_bsp-user-10-QP1A.190711.020-1597810494-release-keys/vendor/lib64/libladder.so cd ../../.. fi +if [ -f /vendor/lib64/libmpvr.so ] && [ ! -f /home/anbox/tmp_vendor/lib64/libmpvr.so ]; then + cp /vendor/lib64/libmpvr.so /home/anbox/tmp_vendor/lib64/ +fi +if [ -f /vendor/lib/libmpvr.so ] && [ ! -f /home/anbox/tmp_vendor/lib/libmpvr.so ]; then + cp /vendor/lib/libmpvr.so /home/anbox/tmp_vendor/lib/ +fi sed -i "s/-service/-service --desktop_file_hint=unity8.desktop/" /home/anbox/tmp_vendor/etc/init/android.hardware.graphics.composer@2.1-service.rc umount /home/anbox/tmp_vendor rm -rf /home/anbox/tmp_vendor