]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
anbox: Provide powervr GPU dependencies
authorErfan Abdi <erfangplus@gmail.com>
Sun, 18 Jul 2021 13:11:13 +0000 (17:41 +0430)
committerErfan Abdi <erfangplus@gmail.com>
Sun, 18 Jul 2021 13:11:13 +0000 (17:41 +0430)
lxc-configs/config_nodes
scripts/vendor-fixup.sh

index b6e2a16d3d6bf3cb79d7c09f694aca7adaecf56a..82ee53832387f5714b007f5c88d66c79525555c1 100644 (file)
@@ -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
index d101d55ecea814483cd752ab531c61ab7c9cf932..e90d8c94851bbca4c5062b17efaf1bc821924d2c 100644 (file)
@@ -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