debian-forge-composer/internal/distro/rhel85
Christian Kellner b7abef54e8 disk: calculate padding for secondary GPT header
Instead of hard coding a padding of 100 sectors for all layouts, i.e.
MBR and GTP, adjust the needed space depending on the layout: for MBR 
we don't need to reserve any space at all since it does not have a 
secondary header. For GTP we reserve 33 sectors, as indicated in the
UEFI specific, which allows for the header itself and up to 128 entries.
To not modify the layout of already released distributions, like RHEL
8.4 and 8.5, a new member called `ExtraPadding` is added to `Partition
Table` and then used in the corresponding layouts to preserve the
existing padding of 100.
2022-02-22 19:23:41 +00:00
..
distro.go disk: CreatePartitionTable can return errors now 2022-02-22 19:23:41 +00:00
distro_internal_test.go distro: use PartitionTable.ContainsMountpoint 2022-02-22 19:23:41 +00:00
distro_test.go Move kernelVerStr() from distros to rpmmd 2022-02-18 09:26:35 +01:00
package_sets.go distro/rhel85: add support for edge raw images 2021-08-28 09:20:19 +02:00
partition_tables.go disk: calculate padding for secondary GPT header 2022-02-22 19:23:41 +00:00
pipelines.go disk: create file system accessors and use those 2022-02-22 19:23:41 +00:00
stage_options.go disk: create file system accessors and use those 2022-02-22 19:23:41 +00:00