mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-19 19:28:59 +00:00
Remove the RPi /boot bind mount
This commit is contained in:
parent
0e283e8e72
commit
39a07b8cd4
@ -151,14 +151,7 @@ application.start = start = (app) ->
|
||||
'/var/run/docker.sock:/host_run/docker.sock'
|
||||
'/etc/resolv.conf:/etc/resolv.conf:rw'
|
||||
]
|
||||
device.getDeviceType()
|
||||
.then (deviceType) ->
|
||||
if _.startsWith(deviceType, 'raspberry-pi')
|
||||
volumes['/boot'] = {}
|
||||
binds.push('/boot:/boot')
|
||||
.catch (err) ->
|
||||
console.log('Could not determine device type: ', err)
|
||||
.then ->
|
||||
Promise.try ->
|
||||
# Parse the env vars before trying to access them, that's because they have to be stringified for knex..
|
||||
JSON.parse(app.env)
|
||||
.then (env) ->
|
||||
|
Loading…
Reference in New Issue
Block a user