Update osbuild/images to v0.41.0
Multiple blueprint fixes: - Extend the blueprint service customizations to accept services to be masked. - The `storage-path` and `container-transport` fields were removed in imagees 41.0 in order to simplify the way local storage containers are handled.
This commit is contained in:
parent
4e504f7905
commit
f6b76cce31
50 changed files with 615 additions and 529 deletions
11
vendor/github.com/osbuild/images/pkg/manifest/build.go
generated
vendored
11
vendor/github.com/osbuild/images/pkg/manifest/build.go
generated
vendored
|
|
@ -1,6 +1,8 @@
|
|||
package manifest
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/osbuild/images/pkg/container"
|
||||
"github.com/osbuild/images/pkg/osbuild"
|
||||
"github.com/osbuild/images/pkg/ostree"
|
||||
|
|
@ -225,14 +227,19 @@ func (p *BuildrootFromContainer) serialize() osbuild.Pipeline {
|
|||
if len(p.containerSpecs) == 0 {
|
||||
panic("serialization not started")
|
||||
}
|
||||
if len(p.containerSpecs) != 1 {
|
||||
panic(fmt.Sprintf("BuildrootFromContainer expectes exactly one container input, got: %v", p.containerSpecs))
|
||||
}
|
||||
|
||||
pipeline := p.Base.serialize()
|
||||
pipeline.Runner = p.runner.String()
|
||||
|
||||
inputs := osbuild.NewContainersInputForSources(p.containerSpecs)
|
||||
image := osbuild.NewContainersInputForSingleSource(p.containerSpecs[0])
|
||||
options := &osbuild.ContainerDeployOptions{
|
||||
Exclude: []string{"/sysroot"},
|
||||
}
|
||||
stage, err := osbuild.NewContainerDeployStage(inputs, options)
|
||||
|
||||
stage, err := osbuild.NewContainerDeployStage(image, options)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue