]> glassweightruler.freedombox.rocks Git - waydroid.git/blobdiff - tools/helpers/lxc.py
lxc: Mount /dev/shm which might host XDG_RUNTIME_DIR
[waydroid.git] / tools / helpers / lxc.py
index 59b1c9112465b9e45ba6a95d10f643d4929e40f5..cb0b56c4fc7deba64bc2ffe36602c46ed5066483 100644 (file)
@@ -91,6 +91,8 @@ def generate_nodes_lxc_config(args):
 
     # Recursive mount /run to provide necessary host sockets
     make_entry("/run", options="rbind,create=dir 0 0")
+    # And /dev/shm
+    make_entry("/dev/shm", options="rbind,create=dir,optional 0 0")
 
     # Necessary sw_sync node for HWC
     make_entry("/dev/sw_sync")