From d915542a013b25cc293aa34419e8eff88435efa7 Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Mon, 19 Feb 2018 11:46:41 -0500 Subject: [PATCH] Add some suggestions for other things to bind mount --- .../primary-user-appimg/files/primary.nspawn | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/meta-citadel-distro/recipes-core/primary-user-appimg/files/primary.nspawn b/meta-citadel-distro/recipes-core/primary-user-appimg/files/primary.nspawn index 66f0bbf..9f50033 100644 --- a/meta-citadel-distro/recipes-core/primary-user-appimg/files/primary.nspawn +++ b/meta-citadel-distro/recipes-core/primary-user-appimg/files/primary.nspawn @@ -11,10 +11,20 @@ BindReadOnly=/usr/share/icons/Paper Bind=/storage/user-data/primary-home:/home/user BindReadOnly=/storage/citadel-state/resolv.conf:/etc/resolv.conf +# +# Bind mounts for sound and pulse audio +# Bind=/dev/snd Bind=/dev/shm Bind=/run/user/1000/pulse:/run/user/host/pulse -#Bind=/run/user/1000/wayland-0:/run/user/host/wayland-0 +# +# Uncomment to enable kvm access in container +# #Bind=/dev/kvm +# +# Uncomment to enable GPU access in container +# +#Bind=/dev/dri/renderD128 +