deps: update images to v0.24.0
Update the images dependency to v0.24.0 Includes the addition of the new FDO option 'di_mfg_string_type_mac_iface'.
This commit is contained in:
parent
c6aa7d88d2
commit
6d57e01506
69 changed files with 765 additions and 261 deletions
4
vendor/github.com/osbuild/images/pkg/disk/luks.go
generated
vendored
4
vendor/github.com/osbuild/images/pkg/disk/luks.go
generated
vendored
|
|
@ -5,6 +5,8 @@ import (
|
|||
"math/rand"
|
||||
|
||||
"github.com/google/uuid"
|
||||
|
||||
"github.com/osbuild/images/internal/common"
|
||||
)
|
||||
|
||||
type Argon2id struct {
|
||||
|
|
@ -96,5 +98,5 @@ func (lc *LUKSContainer) MetadataSize() uint64 {
|
|||
}
|
||||
|
||||
// 16 MiB is the default size for the LUKS2 header
|
||||
return 16 * 1024 * 1024
|
||||
return 16 * common.MiB
|
||||
}
|
||||
|
|
|
|||
2
vendor/github.com/osbuild/images/pkg/disk/lvm.go
generated
vendored
2
vendor/github.com/osbuild/images/pkg/disk/lvm.go
generated
vendored
|
|
@ -138,7 +138,7 @@ func (vg *LVMVolumeGroup) MetadataSize() uint64 {
|
|||
// of the metadata and its location and thus the start of the physical
|
||||
// extent. For now we assume the default which results in a start of
|
||||
// the physical extent 1 MiB
|
||||
return 1024 * 1024
|
||||
return 1 * common.MiB
|
||||
}
|
||||
|
||||
type LVMLogicalVolume struct {
|
||||
|
|
|
|||
3
vendor/github.com/osbuild/images/pkg/disk/partition_table.go
generated
vendored
3
vendor/github.com/osbuild/images/pkg/disk/partition_table.go
generated
vendored
|
|
@ -7,6 +7,7 @@ import (
|
|||
|
||||
"github.com/google/uuid"
|
||||
|
||||
"github.com/osbuild/images/internal/common"
|
||||
"github.com/osbuild/images/pkg/blueprint"
|
||||
)
|
||||
|
||||
|
|
@ -630,7 +631,7 @@ func (pt *PartitionTable) ensureLVM() error {
|
|||
// we need a /boot partition to boot LVM, ensure one exists
|
||||
bootPath := entityPath(pt, "/boot")
|
||||
if bootPath == nil {
|
||||
_, err := pt.CreateMountpoint("/boot", 512*1024*1024)
|
||||
_, err := pt.CreateMountpoint("/boot", 512*common.MiB)
|
||||
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue