Fix abs path handling in module mounts

Fixes #6622
This commit is contained in:
Bjørn Erik Pedersen
2019-12-19 12:17:44 +01:00
parent 158e7ec204
commit ad6504e6b5
4 changed files with 71 additions and 6 deletions

View File

@@ -531,6 +531,9 @@ func (b *sourceFilesystemsBuilder) createModFs(
)
absPathify := func(path string) string {
if filepath.IsAbs(path) {
return path
}
return paths.AbsPathify(md.dir, path)
}