debian-forge-composer/internal/distro
Tomáš Hozza 1d01833153 distro/rhel8: use hybrid boot mode for AMI / EC2 image types
On RHEL-8, the x86_64 AMI / EC2 images used a BIOS-only partition table
layout, because the base partition table unification happened in the
past only on RHEL-9 and Fedora (inherited from RHEL-9).

To make things consistent and uniform across RHEL-8 and RHEL-9, I copied
the base partition table used by RHEL-9 AMI / EC2 images to RHEL-8. This
has a side-effect for aarch64 AMI / EC2, where the `/boot` partition
size changed from 512 MiB to 500 MiB, together with the partition GUID
to "Extended Boot Loader Partition GUID".

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-05-19 13:24:39 +02:00
..
distro_test_common rpmmd/repository: repoconfig pointers 2023-04-21 17:40:00 +02:00
fedora distro/fedora: use hybrid boot mode for AMI image type 2023-05-19 13:24:39 +02:00
rhel7 distro: extend the ImageType interface with BootMode() 2023-05-19 13:24:39 +02:00
rhel8 distro/rhel8: use hybrid boot mode for AMI / EC2 image types 2023-05-19 13:24:39 +02:00
rhel9 distro/rhel9: use hybrid boot mode for AMI / EC2 image types 2023-05-19 13:24:39 +02:00
test_distro distro: extend the ImageType interface with BootMode() 2023-05-19 13:24:39 +02:00
distro.go distro: extend the ImageType interface with BootMode() 2023-05-19 13:24:39 +02:00
distro_test.go rpmmd/repository: repoconfig pointers 2023-04-21 17:40:00 +02:00
image_config.go distro: add ShellVars field to ImageConfig 2023-03-30 18:40:12 +02:00
image_config_test.go common: merge all *ToPtr methods to one generic ToPtr 2023-01-09 14:03:18 +01:00