Make sure @proc is defined
Docker-DCO-1.1-Signed-off-by: Guillaume J. Charmes <guillaume@charmes.net> (github: creack)
This commit is contained in:
parent
7612df5c8a
commit
29c10b7427
1 changed files with 2 additions and 0 deletions
|
@ -69,6 +69,8 @@ func generateProfile(out io.Writer) error {
|
||||||
}
|
}
|
||||||
if tuntablesExists() {
|
if tuntablesExists() {
|
||||||
data.Imports = append(data.Imports, "#include <tunables/global>")
|
data.Imports = append(data.Imports, "#include <tunables/global>")
|
||||||
|
} else {
|
||||||
|
data.Imports = append(data.Imports, "@{PROC}=/proc/")
|
||||||
}
|
}
|
||||||
if abstrctionsEsists() {
|
if abstrctionsEsists() {
|
||||||
data.InnerImports = append(data.InnerImports, "#include <abstractions/base>")
|
data.InnerImports = append(data.InnerImports, "#include <abstractions/base>")
|
||||||
|
|
Loading…
Add table
Reference in a new issue