]> glassweightruler.freedombox.rocks Git - waydroid.git/blobdiff - lxc-configs/config
anbox: Edit anbox-net script and run it
[waydroid.git] / lxc-configs / config
index f2cb9103fd0e77ac47169714853a52bc9a969538..64703bc40a8031bdf12b84d76f72fbb3642f1f96 100644 (file)
@@ -13,7 +13,7 @@ lxc.mount.auto = cgroup:ro sys:ro proc
 
 lxc.network.type = veth
 lxc.network.flags = up
-lxc.network.link = lxcbr0
+lxc.network.link = anbox0
 lxc.network.name = eth0
 lxc.network.hwaddr = 00:16:3e:f9:d3:03
 lxc.network.mtu = 1500
@@ -43,7 +43,7 @@ lxc.mount.entry = /dev/dri dev/dri none bind,create=dir,optional 0 0
 lxc.mount.entry = /dev/anbox-binder dev/binder none bind,create=file 0 0
 lxc.mount.entry = /dev/anbox-vndbinder dev/vndbinder none bind,create=file 0 0
 lxc.mount.entry = /dev/anbox-hwbinder dev/hwbinder none bind,create=file 0 0
-lxc.mount.entry = /dev/hwbinder dev/host_hwbinder none bind,create=file 0 0
+lxc.mount.entry = /dev/hwbinder dev/host_hwbinder none bind,create=file,optional 0 0
 
 # Necessary device nodes for adb
 lxc.mount.entry = none dev/pts devpts defaults,mode=644,ptmxmode=666,create=dir 0 0
@@ -58,7 +58,6 @@ lxc.mount.entry = /home/anbox/data data none bind 0 0
 
 # Mount host /vendor to /vendor_extra
 lxc.mount.entry = /vendor vendor_extra none bind,optional 0 0
-lxc.mount.entry = /odm odm_extra none bind,optional 0 0
 
 # Recursive mount /run to provide necessary host sockets
 lxc.mount.entry = /run run none rbind,create=dir 0 0
@@ -67,4 +66,14 @@ lxc.mount.entry = /run run none rbind,create=dir 0 0
 lxc.mount.entry = /dev/sw_sync dev/sw_sync none bind,create=file,optional 0 0
 lxc.mount.entry = /sys/kernel/debug sys/kernel/debug none rbind,create=dir,optional 0 0
 
+# Media dev nodes (for Mediatek)
+lxc.mount.entry = /dev/Vcodec dev/Vcodec none bind,create=file,optional 0 0
+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
+
+# 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