go.mod,vendor: run go get -u github.com/osbuild/images
This commit updates the "images" dependency.
This commit is contained in:
parent
a18ec71dc8
commit
9dd8b2c50f
87 changed files with 1266 additions and 706 deletions
10
vendor/github.com/osbuild/images/pkg/image/anaconda_container_installer.go
generated
vendored
10
vendor/github.com/osbuild/images/pkg/image/anaconda_container_installer.go
generated
vendored
|
|
@ -23,6 +23,7 @@ type AnacondaContainerInstaller struct {
|
|||
ExtraBasePackages rpmmd.PackageSet
|
||||
|
||||
SquashfsCompression string
|
||||
RootfsType manifest.RootfsType
|
||||
|
||||
ISOLabel string
|
||||
Product string
|
||||
|
|
@ -98,8 +99,13 @@ func (img *AnacondaContainerInstaller) InstantiateManifest(m *manifest.Manifest,
|
|||
}
|
||||
anacondaPipeline.AdditionalDrivers = img.AdditionalDrivers
|
||||
|
||||
rootfsImagePipeline := manifest.NewISORootfsImg(buildPipeline, anacondaPipeline)
|
||||
rootfsImagePipeline.Size = 4 * datasizes.GibiByte
|
||||
var rootfsImagePipeline *manifest.ISORootfsImg
|
||||
switch img.RootfsType {
|
||||
case manifest.SquashfsExt4Rootfs:
|
||||
rootfsImagePipeline = manifest.NewISORootfsImg(buildPipeline, anacondaPipeline)
|
||||
rootfsImagePipeline.Size = 4 * datasizes.GibiByte
|
||||
default:
|
||||
}
|
||||
|
||||
bootTreePipeline := manifest.NewEFIBootTree(buildPipeline, img.Product, img.OSVersion)
|
||||
bootTreePipeline.Platform = img.Platform
|
||||
|
|
|
|||
14
vendor/github.com/osbuild/images/pkg/image/anaconda_live_installer.go
generated
vendored
14
vendor/github.com/osbuild/images/pkg/image/anaconda_live_installer.go
generated
vendored
|
|
@ -23,6 +23,9 @@ type AnacondaLiveInstaller struct {
|
|||
|
||||
ExtraBasePackages rpmmd.PackageSet
|
||||
|
||||
SquashfsCompression string
|
||||
RootfsType manifest.RootfsType
|
||||
|
||||
ISOLabel string
|
||||
Product string
|
||||
Variant string
|
||||
|
|
@ -70,8 +73,13 @@ func (img *AnacondaLiveInstaller) InstantiateManifest(m *manifest.Manifest,
|
|||
|
||||
livePipeline.Checkpoint()
|
||||
|
||||
rootfsImagePipeline := manifest.NewISORootfsImg(buildPipeline, livePipeline)
|
||||
rootfsImagePipeline.Size = 8 * datasizes.GibiByte
|
||||
var rootfsImagePipeline *manifest.ISORootfsImg
|
||||
switch img.RootfsType {
|
||||
case manifest.SquashfsExt4Rootfs:
|
||||
rootfsImagePipeline = manifest.NewISORootfsImg(buildPipeline, livePipeline)
|
||||
rootfsImagePipeline.Size = 8 * datasizes.GibiByte
|
||||
default:
|
||||
}
|
||||
|
||||
bootTreePipeline := manifest.NewEFIBootTree(buildPipeline, img.Product, img.OSVersion)
|
||||
bootTreePipeline.Platform = img.Platform
|
||||
|
|
@ -99,6 +107,8 @@ func (img *AnacondaLiveInstaller) InstantiateManifest(m *manifest.Manifest,
|
|||
isoTreePipeline.KernelOpts = kernelOpts
|
||||
isoTreePipeline.ISOLinux = isoLinuxEnabled
|
||||
|
||||
isoTreePipeline.SquashfsCompression = img.SquashfsCompression
|
||||
|
||||
isoPipeline := manifest.NewISO(buildPipeline, isoTreePipeline, img.ISOLabel)
|
||||
isoPipeline.SetFilename(img.Filename)
|
||||
isoPipeline.ISOLinux = isoLinuxEnabled
|
||||
|
|
|
|||
10
vendor/github.com/osbuild/images/pkg/image/anaconda_ostree_installer.go
generated
vendored
10
vendor/github.com/osbuild/images/pkg/image/anaconda_ostree_installer.go
generated
vendored
|
|
@ -29,6 +29,7 @@ type AnacondaOSTreeInstaller struct {
|
|||
Subscription *subscription.ImageOptions
|
||||
|
||||
SquashfsCompression string
|
||||
RootfsType manifest.RootfsType
|
||||
|
||||
ISOLabel string
|
||||
Product string
|
||||
|
|
@ -101,8 +102,13 @@ func (img *AnacondaOSTreeInstaller) InstantiateManifest(m *manifest.Manifest,
|
|||
anacondaPipeline.DisabledAnacondaModules = img.DisabledAnacondaModules
|
||||
anacondaPipeline.AdditionalDrivers = img.AdditionalDrivers
|
||||
|
||||
rootfsImagePipeline := manifest.NewISORootfsImg(buildPipeline, anacondaPipeline)
|
||||
rootfsImagePipeline.Size = 4 * datasizes.GibiByte
|
||||
var rootfsImagePipeline *manifest.ISORootfsImg
|
||||
switch img.RootfsType {
|
||||
case manifest.SquashfsExt4Rootfs:
|
||||
rootfsImagePipeline = manifest.NewISORootfsImg(buildPipeline, anacondaPipeline)
|
||||
rootfsImagePipeline.Size = 4 * datasizes.GibiByte
|
||||
default:
|
||||
}
|
||||
|
||||
bootTreePipeline := manifest.NewEFIBootTree(buildPipeline, img.Product, img.OSVersion)
|
||||
bootTreePipeline.Platform = img.Platform
|
||||
|
|
|
|||
10
vendor/github.com/osbuild/images/pkg/image/anaconda_tar_installer.go
generated
vendored
10
vendor/github.com/osbuild/images/pkg/image/anaconda_tar_installer.go
generated
vendored
|
|
@ -57,6 +57,7 @@ type AnacondaTarInstaller struct {
|
|||
Kickstart *kickstart.Options
|
||||
|
||||
SquashfsCompression string
|
||||
RootfsType manifest.RootfsType
|
||||
|
||||
ISOLabel string
|
||||
Product string
|
||||
|
|
@ -153,8 +154,13 @@ func (img *AnacondaTarInstaller) InstantiateManifest(m *manifest.Manifest,
|
|||
|
||||
anacondaPipeline.Checkpoint()
|
||||
|
||||
rootfsImagePipeline := manifest.NewISORootfsImg(buildPipeline, anacondaPipeline)
|
||||
rootfsImagePipeline.Size = 5 * datasizes.GibiByte
|
||||
var rootfsImagePipeline *manifest.ISORootfsImg
|
||||
switch img.RootfsType {
|
||||
case manifest.SquashfsExt4Rootfs:
|
||||
rootfsImagePipeline = manifest.NewISORootfsImg(buildPipeline, anacondaPipeline)
|
||||
rootfsImagePipeline.Size = 5 * datasizes.GibiByte
|
||||
default:
|
||||
}
|
||||
|
||||
bootTreePipeline := manifest.NewEFIBootTree(buildPipeline, img.Product, img.OSVersion)
|
||||
bootTreePipeline.Platform = img.Platform
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue