mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-21 02:01:35 +00:00
Default to not bind mounting kmod if container distro can't be found
This commit is contained in:
parent
8ce7b72854
commit
f5b0a4e7e7
@ -1,3 +1,4 @@
|
||||
* Default to not bind mounting kmod if container distro can't be found [Pablo]
|
||||
* Use log-timestamp to add timestamps to logs [Pablo]
|
||||
|
||||
# v1.12.2
|
||||
|
@ -171,6 +171,9 @@ shouldMountKmod = (image) ->
|
||||
utils.getOSVersion(rootDir + '/etc/os-release')
|
||||
.then (version) ->
|
||||
return version? and (version.match(/^Debian/i) or version.match(/^Raspbian/i))
|
||||
.catch (err) ->
|
||||
console.error("Error getting app OS release: ", err)
|
||||
return false
|
||||
|
||||
application.start = start = (app) ->
|
||||
volumes =
|
||||
|
Loading…
x
Reference in New Issue
Block a user