From: Samir Benmendil Date: Tue, 29 Dec 2020 14:43:29 +0000 (+0000) Subject: mkosi/kodi: clean nspawn X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/9e07aea50b1baae588081b43fb4ae83e38cf25fa mkosi/kodi: clean nspawn lib/modules is only needed if the container needs to load kernel drivers. We'll make sure that any driver needed is already loaded on the host. dev/bus/usb was probably an attempt to get udev working in the container. This is a bad idea. --- diff --git a/mkosi/kodi/mkosi.nspawn b/mkosi/kodi/mkosi.nspawn index 61bb674..d6fe2fb 100644 --- a/mkosi/kodi/mkosi.nspawn +++ b/mkosi/kodi/mkosi.nspawn @@ -15,7 +15,6 @@ Bind=/mnt/fook/torrents # device access Bind=/dev/tty0 Bind=/dev/tty1 -BindReadOnly=/dev/bus/usb BindReadOnly=/dev/dri BindReadOnly=/dev/input BindReadOnly=/dev/uinput @@ -23,7 +22,6 @@ BindReadOnly=/dev/uinput BindReadOnly=/run/udev BindReadOnly=/dev/lirc0 BindReadOnly=/dev/vga_arbiter -BindReadOnly=/lib/modules # pulse need to be started in system mode with the following module and option: # load-module module-native-protocol auth-authorize-anonymous BindReadOnly=/run/pulse