Vendor after merging mtrmac/image:manifest-lists

This commit is contained in:
Miloslav Trmač
2017-09-16 03:18:07 +02:00
parent c0dffd9b3e
commit 27f320b27f
88 changed files with 1356 additions and 483 deletions

View File

@@ -36,6 +36,11 @@ func Init(home string, options []string, uidMaps, gidMaps []idtools.IDMap) (grap
for _, option := range options {
if strings.HasPrefix(option, "vfs.imagestore=") {
d.homes = append(d.homes, strings.Split(option[15:], ",")...)
continue
}
if strings.HasPrefix(option, ".imagestore=") {
d.homes = append(d.homes, strings.Split(option[12:], ",")...)
continue
}
}
return graphdriver.NewNaiveDiffDriver(d, uidMaps, gidMaps), nil