]> glassweightruler.freedombox.rocks Git - waydroid.git/blobdiff - tools/actions/container_manager.py
lxc: Provide all fb and video nodes to container
[waydroid.git] / tools / actions / container_manager.py
index 520034d13db010df020ad374e8b6f5483fb7e54a..bef748362dd456b56a6238389d4f5be3271f0358 100644 (file)
@@ -65,8 +65,6 @@ def start(args):
                 "/dev/MTK_SMI",
                 "/dev/mdp_sync",
                 "/dev/mtk_cmdq",
-                "/dev/video32",
-                "/dev/video33",
 
                 # Graphics
                 "/dev/dri",
@@ -75,6 +73,8 @@ def start(args):
 
             # Framebuffers
             perm_list.extend(glob.glob("/dev/fb*"))
+            # Videos
+            perm_list.extend(glob.glob("/dev/video*"))
 
         for path in perm_list:
             chmod(path, mode)