mirror of
https://github.com/containers/podman.git
synced 2025-11-13 09:38:05 +08:00
rootfs: Add support for rootfs-overlay and bump to buildah v1.22.1-0.202108
Allows users to specify a readonly rootfs with :O, in exchange podman will create a writable overlay. bump builah to v1.22.1-0.20210823173221-da2b428c56ce [NO TESTS NEEDED] Signed-off-by: flouthoc <flouthoc.git@gmail.com>
This commit is contained in:
6
vendor/github.com/containers/buildah/buildah.go
generated
vendored
6
vendor/github.com/containers/buildah/buildah.go
generated
vendored
@@ -397,7 +397,7 @@ func OpenBuilder(store storage.Store, container string) (*Builder, error) {
|
||||
return nil, errors.Errorf("container %q is not a %s container (is a %q container)", container, define.Package, b.Type)
|
||||
}
|
||||
b.store = store
|
||||
b.fixupConfig()
|
||||
b.fixupConfig(nil)
|
||||
b.setupLogger()
|
||||
return b, nil
|
||||
}
|
||||
@@ -433,7 +433,7 @@ func OpenBuilderByPath(store storage.Store, path string) (*Builder, error) {
|
||||
err = json.Unmarshal(buildstate, &b)
|
||||
if err == nil && b.Type == containerType && builderMatchesPath(b, abs) {
|
||||
b.store = store
|
||||
b.fixupConfig()
|
||||
b.fixupConfig(nil)
|
||||
b.setupLogger()
|
||||
return b, nil
|
||||
}
|
||||
@@ -471,7 +471,7 @@ func OpenAllBuilders(store storage.Store) (builders []*Builder, err error) {
|
||||
if err == nil && b.Type == containerType {
|
||||
b.store = store
|
||||
b.setupLogger()
|
||||
b.fixupConfig()
|
||||
b.fixupConfig(nil)
|
||||
builders = append(builders, b)
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user