deps: update images to v0.54.0
Update images dependency and adjust import paths for distro package changes. Signed-off-by: Achilleas Koutsou <achilleas@koutsou.net>
This commit is contained in:
parent
356a222b83
commit
809f2544ad
81 changed files with 6722 additions and 5341 deletions
7
vendor/github.com/osbuild/images/pkg/manifest/build.go
generated
vendored
7
vendor/github.com/osbuild/images/pkg/manifest/build.go
generated
vendored
|
|
@ -235,11 +235,7 @@ func (p *BuildrootFromContainer) serialize() osbuild.Pipeline {
|
|||
pipeline.Runner = p.runner.String()
|
||||
|
||||
image := osbuild.NewContainersInputForSingleSource(p.containerSpecs[0])
|
||||
options := &osbuild.ContainerDeployOptions{
|
||||
Exclude: []string{"/sysroot"},
|
||||
}
|
||||
|
||||
stage, err := osbuild.NewContainerDeployStage(image, options)
|
||||
stage, err := osbuild.NewContainerDeployStage(image, &osbuild.ContainerDeployOptions{})
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
@ -247,6 +243,7 @@ func (p *BuildrootFromContainer) serialize() osbuild.Pipeline {
|
|||
pipeline.AddStage(osbuild.NewSELinuxStage(
|
||||
&osbuild.SELinuxStageOptions{
|
||||
FileContexts: "etc/selinux/targeted/contexts/files/file_contexts",
|
||||
ExcludePaths: []string{"/sysroot"},
|
||||
Labels: p.getSELinuxLabels(),
|
||||
},
|
||||
))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue