X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/d5a1bf0276ed706d24fab4520ac5418ca1cebb34..refs/heads/lineage-17.1:/scripts/run-container.sh diff --git a/scripts/run-container.sh b/scripts/run-container.sh index 051b429..79042f5 100644 --- a/scripts/run-container.sh +++ b/scripts/run-container.sh @@ -21,7 +21,7 @@ start cgroup-lite umount -l /sys/fs/cgroup/schedtune # start sensors hal -start anbox-sensors +anbox-sensord & # start anbox-net, that sets up lxc bridge /home/anbox/anbox-net.sh start @@ -37,6 +37,12 @@ mount -o remount,ro rootfs mount anbox_*_vendor.img rootfs/vendor mount -o remount,ro rootfs/vendor mount -o bind anbox.prop rootfs/vendor/anbox.prop +if [ -d /vendor/lib/egl ]; then + mount -o bind /vendor/lib/egl rootfs/vendor/lib/egl +fi +if [ -d /vendor/lib64/egl ]; then + mount -o bind /vendor/lib64/egl rootfs/vendor/lib64/egl +fi if mountpoint -q -- /odm; then mount -o bind /odm rootfs/odm_extra