]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
lxc: Mount /dev/shm which might host XDG_RUNTIME_DIR
authorAlessandro Astone <ales.astone@gmail.com>
Thu, 8 Dec 2022 18:30:43 +0000 (19:30 +0100)
committerAlessandro Astone <ales.astone@gmail.com>
Thu, 8 Dec 2022 18:30:55 +0000 (19:30 +0100)
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")