From: Erfan Abdi Date: Tue, 15 Jun 2021 00:38:55 +0000 (+0430) Subject: anbox: Bind mount host egl dirs X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/commitdiff_plain/57d4b528377a54935194212b506f7e8c696b9325?ds=sidebyside anbox: Bind mount host egl dirs --- diff --git a/scripts/run-container.sh b/scripts/run-container.sh index 051b429..728805a 100644 --- a/scripts/run-container.sh +++ b/scripts/run-container.sh @@ -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