Update osbuild/images to v0.105.0
This brings a lot of new stuff, among others: - Internal image types for RHEL-10 (COMPOSER-2357) - Support for Swap partitions in DiskCustomizations (COMPOSER-2400) - Support for new partitioning customizations for CS and RHEL - Fix for RHEL 8 and 9 AMI boot mode (RHEL-69628) Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
73f3aa22a2
commit
fdff0a903e
36 changed files with 1527 additions and 524 deletions
23
vendor/github.com/osbuild/images/pkg/disk/disk.go
generated
vendored
23
vendor/github.com/osbuild/images/pkg/disk/disk.go
generated
vendored
|
|
@ -56,6 +56,8 @@ const (
|
|||
|
||||
RootPartitionUUID = "6264D520-3FB9-423F-8AB8-7A0A8E3D3562"
|
||||
|
||||
SwapPartitionGUID = "0657FD6D-A4AB-43C4-84E5-0933C84B4F4F"
|
||||
|
||||
// Extended Boot Loader Partition
|
||||
XBootLDRPartitionGUID = "BC13C2FF-59E6-4262-A352-B275FD6F7172"
|
||||
|
||||
|
|
@ -70,6 +72,9 @@ const (
|
|||
|
||||
// Partition type ID for ESP on dos
|
||||
DosESPID = "ef00"
|
||||
|
||||
// Partition type ID for swap
|
||||
DosSwapID = "82"
|
||||
)
|
||||
|
||||
// pt type -> type -> ID mapping for convenience
|
||||
|
|
@ -80,6 +85,7 @@ var idMap = map[PartitionTableType]map[string]string{
|
|||
"data": DosLinuxTypeID,
|
||||
"esp": DosESPID,
|
||||
"lvm": DosLinuxTypeID,
|
||||
"swap": DosSwapID,
|
||||
},
|
||||
PT_GPT: {
|
||||
"bios": BIOSBootPartitionGUID,
|
||||
|
|
@ -87,6 +93,7 @@ var idMap = map[PartitionTableType]map[string]string{
|
|||
"data": FilesystemDataGUID,
|
||||
"esp": EFISystemPartitionGUID,
|
||||
"lvm": LVMPartitionGUID,
|
||||
"swap": SwapPartitionGUID,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
@ -248,13 +255,21 @@ type Mountable interface {
|
|||
// GetMountPoint returns the path of the mount point.
|
||||
GetMountpoint() string
|
||||
|
||||
// GetFSType returns the file system type, e.g. 'xfs'.
|
||||
GetFSType() string
|
||||
FSTabEntity
|
||||
}
|
||||
|
||||
// GetFSSpec returns the file system spec information.
|
||||
// FSTabEntity describes any entity that can appear in the fstab file.
|
||||
type FSTabEntity interface {
|
||||
// FSSpec for the entity (UUID and Label); the first field of fstab(5).
|
||||
GetFSSpec() FSSpec
|
||||
|
||||
// GetFSTabOptions returns options for mounting the entity.
|
||||
// The mount point (target) for a filesystem or "none" for swap areas; the second field of fstab(5).
|
||||
GetFSFile() string
|
||||
|
||||
// The type of the filesystem or swap for swap areas; the third field of fstab(5).
|
||||
GetFSType() string
|
||||
|
||||
// The mount options, freq, and passno for the entity; the fourth fifth, and sixth fields of fstab(5) respectively.
|
||||
GetFSTabOptions() (FSTabOptions, error)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue