Vendor in latest opencontainers/runtime-tools

Signed-off-by: Dan Walsh <dwalsh@redhat.com>
This commit is contained in:
Dan Walsh 2017-06-22 13:32:14 -04:00
parent 7cb47aeb21
commit a9a1b04510
4 changed files with 26 additions and 5 deletions

View file

@ -131,8 +131,13 @@ func (v *Validator) CheckRootfsPath() (msgs []string) {
msgs = append(msgs, fmt.Sprintf("root.path is %q, but it MUST be a child of %q", v.spec.Root.Path, absBundlePath))
}
return
if v.spec.Platform.OS == "windows" {
if v.spec.Root.Readonly {
msgs = append(msgs, "root.readonly field MUST be omitted or false when platform.os is windows")
}
}
return
}
// CheckSemVer checks v.spec.Version