]> glassweightruler.freedombox.rocks Git - waydroid.git/blob - lxc-configs/config_nodes
anbox: Make sure anbox-sensord is started anyway
[waydroid.git] / lxc-configs / config_nodes
1 # Anbox LXC Config
2
3 # Necessary dev nodes
4 lxc.mount.entry = tmpfs dev tmpfs nosuid 0 0
5 lxc.mount.entry = /dev/zero dev/zero none bind,create=file,optional 0 0
6 lxc.mount.entry = /dev/full dev/full none bind,create=file,optional 0 0
7 lxc.mount.entry = /dev/ashmem dev/ashmem none bind,create=file,optional 0 0
8 lxc.mount.entry = /dev/fuse dev/fuse none bind,create=file,optional 0 0
9 lxc.mount.entry = /dev/ion dev/ion none bind,create=file,optional 0 0
10 lxc.mount.entry = /dev/char dev/char none bind,create=dir,optional 0 0
11
12 # Graphic dev nodes
13 lxc.mount.entry = /dev/kgsl-3d0 dev/kgsl-3d0 none bind,create=file,optional 0 0
14 lxc.mount.entry = /dev/mali0 dev/mali0 none bind,create=file,optional 0 0
15 lxc.mount.entry = /dev/pmsg0 dev/pmsg0 none bind,create=file,optional 0 0
16 lxc.mount.entry = /dev/fb0 dev/fb0 none bind,create=file,optional 0 0
17 lxc.mount.entry = /dev/graphics/fb0 dev/graphics/fb0 none bind,create=file,optional 0 0
18 lxc.mount.entry = /dev/fb1 dev/fb1 none bind,create=file,optional 0 0
19 lxc.mount.entry = /dev/graphics/fb1 dev/graphics/fb1 none bind,create=file,optional 0 0
20 lxc.mount.entry = /dev/fb2 dev/fb2 none bind,create=file,optional 0 0
21 lxc.mount.entry = /dev/graphics/fb2 dev/graphics/fb2 none bind,create=file,optional 0 0
22 lxc.mount.entry = /dev/dri dev/dri none bind,create=dir,optional 0 0
23
24 # Binder dev nodes
25 lxc.mount.entry = /dev/anbox-binder dev/binder none bind,create=file 0 0
26 lxc.mount.entry = /dev/anbox-vndbinder dev/vndbinder none bind,create=file 0 0
27 lxc.mount.entry = /dev/anbox-hwbinder dev/hwbinder none bind,create=file 0 0
28 lxc.mount.entry = /dev/hwbinder dev/host_hwbinder none bind,create=file,optional 0 0
29
30 # Necessary device nodes for adb
31 lxc.mount.entry = none dev/pts devpts defaults,mode=644,ptmxmode=666,create=dir 0 0
32 lxc.mount.entry = /dev/uhid dev/uhid none bind,create=file,defaults,optional 0 0
33
34 # Low memory killer sys node
35 lxc.mount.entry = /sys/module/lowmemorykiller sys/module/lowmemorykiller none bind,create=dir,optional 0 0
36
37 # Mount /data
38 lxc.mount.entry = tmpfs mnt tmpfs mode=0755,uid=0,gid=1000
39 lxc.mount.entry = /home/anbox/data data none bind 0 0
40
41 # Mount host /vendor to /vendor_extra
42 lxc.mount.entry = /vendor vendor_extra none bind,optional 0 0
43
44 # Recursive mount /run to provide necessary host sockets
45 lxc.mount.entry = /run run none rbind,create=dir 0 0
46
47 # Necessary sw_sync node for HWC
48 lxc.mount.entry = /dev/sw_sync dev/sw_sync none bind,create=file,optional 0 0
49 lxc.mount.entry = /sys/kernel/debug sys/kernel/debug none rbind,create=dir,optional 0 0
50
51 # Media dev nodes (for Mediatek)
52 lxc.mount.entry = /dev/Vcodec dev/Vcodec none bind,create=file,optional 0 0
53 lxc.mount.entry = /dev/MTK_SMI dev/MTK_SMI none bind,create=file,optional 0 0
54 lxc.mount.entry = /dev/mdp_sync dev/mdp_sync none bind,create=file,optional 0 0
55 lxc.mount.entry = /dev/mtk_cmdq dev/mtk_cmdq none bind,create=file,optional 0 0
56
57 # Media dev nodes (for Qcom)
58 lxc.mount.entry = /dev/video32 dev/video32 none bind,create=file,optional 0 0
59 lxc.mount.entry = /dev/video33 dev/video33 none bind,create=file,optional 0 0