debian-forge-composer/internal/distro
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_test_common Move kernelVerStr() from distros to rpmmd 2022-02-18 09:26:35 +01:00
fedora33 distro/fedora: implementation cleanups for newer releases 2022-02-03 14:51:07 +01:00
rhel8 distro/depsolve/cloudapi: Add 3rd-party repository support. 2021-12-15 20:12:49 +01:00
rhel84 disk: create file system accessors and use those 2022-02-22 19:23:41 +00:00
rhel85 disk: calculate padding for secondary GPT header 2022-02-22 19:23:41 +00:00
rhel86 disk: CreatePartitionTable can return errors now 2022-02-22 19:23:41 +00:00
rhel90 disk: CreatePartitionTable can return errors now 2022-02-22 19:23:41 +00:00
rhel90beta disk: calculate padding for secondary GPT header 2022-02-22 19:23:41 +00:00
test_distro distro/depsolve/cloudapi: Add 3rd-party repository support. 2021-12-15 20:12:49 +01:00
distro.go distro/depsolve/cloudapi: Add 3rd-party repository support. 2021-12-15 20:12:49 +01:00
distro_test.go Test all manifests with depsolved package sets 2021-11-19 19:50:25 +01:00
image_config.go distro: add sshd config to ImageConfig 2022-02-03 14:57:16 +01:00
image_config_test.go RHEL-90: move RHSM configuration to ImageConfig structure 2022-01-11 17:08:19 +01:00
osrelease_test.go distro: add DetectHost 2019-11-10 17:23:14 +01:00