go.mod: update osbuild/images to v0.120.0
This adds the RHEL 10.1 and 9.7 repositories Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
d5a77ffcb5
commit
06e232b55e
21 changed files with 528 additions and 19 deletions
7
vendor/github.com/osbuild/images/pkg/image/bootc_disk.go
generated
vendored
7
vendor/github.com/osbuild/images/pkg/image/bootc_disk.go
generated
vendored
|
|
@ -5,6 +5,7 @@ import (
|
|||
"math/rand"
|
||||
|
||||
"github.com/osbuild/images/pkg/container"
|
||||
"github.com/osbuild/images/pkg/customizations/fsnode"
|
||||
"github.com/osbuild/images/pkg/customizations/users"
|
||||
"github.com/osbuild/images/pkg/disk"
|
||||
"github.com/osbuild/images/pkg/manifest"
|
||||
|
|
@ -31,6 +32,10 @@ type BootcDiskImage struct {
|
|||
Users []users.User
|
||||
Groups []users.Group
|
||||
|
||||
// Custom directories and files to create in the image
|
||||
Directories []*fsnode.Directory
|
||||
Files []*fsnode.File
|
||||
|
||||
// SELinux policy, when set it enables the labeling of the tree with the
|
||||
// selected profile
|
||||
SELinux string
|
||||
|
|
@ -59,6 +64,8 @@ func (img *BootcDiskImage) InstantiateManifestFromContainers(m *manifest.Manifes
|
|||
rawImage.PartitionTable = img.PartitionTable
|
||||
rawImage.Users = img.Users
|
||||
rawImage.Groups = img.Groups
|
||||
rawImage.Files = img.Files
|
||||
rawImage.Directories = img.Directories
|
||||
rawImage.KernelOptionsAppend = img.KernelOptionsAppend
|
||||
rawImage.SELinux = img.SELinux
|
||||
|
||||
|
|
|
|||
7
vendor/github.com/osbuild/images/pkg/image/disk.go
generated
vendored
7
vendor/github.com/osbuild/images/pkg/image/disk.go
generated
vendored
|
|
@ -39,6 +39,8 @@ type DiskImage struct {
|
|||
// InstallWeakDeps enables installation of weak dependencies for packages
|
||||
// that are statically defined for the payload pipeline of the image.
|
||||
InstallWeakDeps *bool
|
||||
|
||||
FirstBoot bool
|
||||
}
|
||||
|
||||
func NewDiskImage() *DiskImage {
|
||||
|
|
@ -66,6 +68,7 @@ func (img *DiskImage) InstantiateManifest(m *manifest.Manifest,
|
|||
if img.InstallWeakDeps != nil {
|
||||
osPipeline.InstallWeakDeps = *img.InstallWeakDeps
|
||||
}
|
||||
osPipeline.FirstBoot = img.FirstBoot
|
||||
|
||||
rawImagePipeline := manifest.NewRawImage(buildPipeline, osPipeline)
|
||||
rawImagePipeline.PartTool = img.PartTool
|
||||
|
|
@ -114,6 +117,10 @@ func (img *DiskImage) InstantiateManifest(m *manifest.Manifest,
|
|||
xzPipeline := manifest.NewXZ(buildPipeline, imagePipeline)
|
||||
xzPipeline.SetFilename(img.Filename)
|
||||
return xzPipeline.Export(), nil
|
||||
case "zstd":
|
||||
zstdPipeline := manifest.NewZstd(buildPipeline, imagePipeline)
|
||||
zstdPipeline.SetFilename(img.Filename)
|
||||
return zstdPipeline.Export(), nil
|
||||
case "":
|
||||
// don't compress, but make sure the pipeline's filename is set
|
||||
imagePipeline.SetFilename(img.Filename)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue