debian-forge-composer/internal/distro
Christian Kellner 98b491fcac distro/rhel85: automatically convert to LVM on fs customizations
Whenever we create a new mountpoint due to a user customization,
ensure the layout uses LVM, i.e. convert plain layouts to it, if
needed. This does not apply to rpm-ostree based systems.
Add "lvm2" to the build pipeline and thus generate new manifests
and image infos.
Adjust the existing tests that assumed we can not create more
than 4 partitions on mbr layouts, since that is now not true
anymore.
This is a port from rhel86, commit 63aa155

The change in osPipeline() is required now to fix the Prefix for the
bootloader specification when LVM is used. The unspecified Prefix, which
was previously used for all cases, defaults to "/boot". When the layout
is converted to LVM, a boot partition is created and the BLS Prefix
should be set to "".

In the case where we don't have a partition table, the BLS stage is not
needed, but it was done unconditionally before, so keep the default
image definitions unchanged.

Co-Authored-By: Achilleas Koutsou <achilleas@koutsou.net>
2022-04-30 12:37:50 +01:00
..
distro_test_common RHEL-85: don't pass blueprint package set separately to pipelines 2022-04-28 14:42:49 +02:00
fedora33 distro: introduce PackageSetsChains() method to ImageType 2022-04-28 14:42:49 +02:00
rhel8 distro: introduce PackageSetsChains() method to ImageType 2022-04-28 14:42:49 +02:00
rhel84 distro: introduce PackageSetsChains() method to ImageType 2022-04-28 14:42:49 +02:00
rhel85 distro/rhel85: automatically convert to LVM on fs customizations 2022-04-30 12:37:50 +01:00
rhel86 Don't support gce-rhui image type on CentOS Stream 8 2022-04-29 09:24:40 +02:00
rhel90 RHEL-90: don't pass blueprint package set separately to pipelines 2022-04-28 14:42:49 +02:00
rhel90beta RHEL-90beta: don't pass blueprint package set separately to pipelines 2022-04-28 14:42:49 +02:00
test_distro TestDistro: return dummy values from PackageSets related methods 2022-04-28 14:42:49 +02:00
distro.go distro: introduce PackageSetsChains() method to ImageType 2022-04-28 14:42:49 +02:00
distro_test.go distro: introduce PackageSetsChains() method to ImageType 2022-04-28 14:42:49 +02:00
image_config.go Extend ImageConfig and RHEL-86/90 osPipeline 2022-04-14 19:07:31 +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