mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-27 02:56:31 +00:00
This reverts commit 341833fd8f9fe801da0184cd8dc26bd4d92b014a.
This commit is contained in:
parent
341833fd8f
commit
40b34071e7
@ -319,10 +319,6 @@ class DockerAddon(DockerInterface):
|
|||||||
if self.addon.with_udev:
|
if self.addon.with_udev:
|
||||||
volumes.update({"/run/udev": {"bind": "/run/udev", "mode": "ro"}})
|
volumes.update({"/run/udev": {"bind": "/run/udev", "mode": "ro"}})
|
||||||
|
|
||||||
# Host USB: Some driver/library want read folder attributes
|
|
||||||
if self.addon.with_usb:
|
|
||||||
volumes.update({"/dev/bus/usb": {"bind": "/dev/bus/usb", "mode": "rw"}})
|
|
||||||
|
|
||||||
# Kernel Modules support
|
# Kernel Modules support
|
||||||
if self.addon.with_kernel_modules:
|
if self.addon.with_kernel_modules:
|
||||||
volumes.update({"/lib/modules": {"bind": "/lib/modules", "mode": "ro"}})
|
volumes.update({"/lib/modules": {"bind": "/lib/modules", "mode": "ro"}})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user