]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
anbox: Bind mount media dev nodes needed by qcom
authorErfan Abdi <erfangplus@gmail.com>
Mon, 3 May 2021 02:06:40 +0000 (06:36 +0430)
committerErfan Abdi <erfangplus@gmail.com>
Mon, 3 May 2021 12:36:37 +0000 (17:06 +0430)
lxc-configs/config
scripts/run-container.sh

index 802c31ad1755f2a5765ab9b05e48e70f1142469f..7211572539fcddabdd196caebbcd4bc865738e3a 100644 (file)
@@ -73,4 +73,8 @@ lxc.mount.entry = /dev/MTK_SMI dev/MTK_SMI none bind,create=file,optional 0 0
 lxc.mount.entry = /dev/mdp_sync dev/mdp_sync none bind,create=file,optional 0 0
 lxc.mount.entry = /dev/mtk_cmdq dev/mtk_cmdq none bind,create=file,optional 0 0
 
 lxc.mount.entry = /dev/mdp_sync dev/mdp_sync none bind,create=file,optional 0 0
 lxc.mount.entry = /dev/mtk_cmdq dev/mtk_cmdq none bind,create=file,optional 0 0
 
+# Media dev nodes (for Qcom)
+lxc.mount.entry = /dev/video32 dev/video32 none bind,create=file,optional 0 0
+lxc.mount.entry = /dev/video33 dev/video33 none bind,create=file,optional 0 0
+
 lxc.hook.post-stop = /dev/null
 lxc.hook.post-stop = /dev/null
index a6eda67a287632e7da4383757593de07878539ef..c8feb055318578a1dc06e11fdf6c9a58957e3491 100644 (file)
@@ -40,5 +40,7 @@ chmod 777 /dev/Vcodec
 chmod 777 /dev/MTK_SMI
 chmod 777 /dev/mdp_sync
 chmod 777 /dev/mtk_cmdq
 chmod 777 /dev/MTK_SMI
 chmod 777 /dev/mdp_sync
 chmod 777 /dev/mtk_cmdq
+chmod 777 /dev/video32
+chmod 777 /dev/video33
 
 lxc-start -n anbox -F -- /init
 
 lxc-start -n anbox -F -- /init