Update addon.py (#550)

This commit is contained in:
Pascal Vizeli 2018-07-04 00:51:01 +02:00 committed by GitHub
parent 0f72db45f9
commit f01945bf8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,8 +216,8 @@ class DockerAddon(DockerInterface):
# DeviceTree support
if self.addon.with_devicetree:
volumes.update({
"/sys/firmware/devicetree": {
'bind': "/sys/firmware/devicetree", 'mode': 'ro'
"/sys/firmware/devicetree/base": {
'bind': "/proc/device-tree", 'mode': 'ro'
},
})