app_containers: Bind the entire /dev/dri subdirectory
This commit is contained in:
parent
79aeb5321f
commit
529f6e358c
|
@ -47,9 +47,10 @@ SUDO_ASKPASS=$HOME/.local/bin/askpass-bemenu sudo -A systemd-nspawn -M $CONTAINE
|
|||
`# DNS (when containers do not have their own netns)` \
|
||||
--bind-ro=/run/systemd/resolve/stub-resolv.conf:/etc/resolv.conf \
|
||||
`# GPU` \
|
||||
--bind=/dev/dri/card0 \
|
||||
--bind=/dev/dri \
|
||||
--bind=/dev/shm \
|
||||
--property=DeviceAllow='char-drm rw' \
|
||||
--property=DeviceAllow='/dev/dri rw' \
|
||||
--property=DeviceAllow='/dev/shm rw' \
|
||||
`# Input devices` \
|
||||
--bind-ro=/dev/input \
|
||||
--property=DeviceAllow='char-input r' \
|
||||
|
|
Loading…
Reference in New Issue