]> git.rmz.io Git - dotfiles.git/commitdiff
mkosi/kodi: clean nspawn
authorSamir Benmendil <me@rmz.io>
Tue, 29 Dec 2020 14:43:29 +0000 (14:43 +0000)
committerSamir Benmendil <me@rmz.io>
Tue, 29 Dec 2020 17:55:58 +0000 (17:55 +0000)
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.

mkosi/kodi/mkosi.nspawn

index 61bb674d7a8103d4f432b91db449076361493387..d6fe2fbb4bbf76c88b9cdf44e8da5c7bf8fa168e 100644 (file)
@@ -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