debian-forge-composer/internal
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
..
auth api/{cloud,worker}: used channel name based on JWT claims for new jobs 2022-03-08 12:07:00 +01:00
blueprint blueprint: sanitize user home directories 2022-03-28 14:08:57 +02:00
boot tests: update IDs in Openstack image boot test 2022-02-14 12:13:18 +02:00
client client: Add Cancel function and tests 2022-02-18 09:31:07 +01:00
cloud worker: rework GCP credentials handling 2022-04-14 19:07:31 +01:00
cloudapi worker: extend the depsolve job to use DepsolvePackageSets() 2022-04-28 14:42:49 +02:00
common internal/common: introduce function to convert data sizes 2021-11-02 18:32:47 +01:00
crypt crypt: add automatic darwin support 2020-07-17 07:48:22 +02:00
disk disk: test minimum directory size calculations 2022-04-29 08:55:36 +02:00
distro distro/rhel85: automatically convert to LVM on fs customizations 2022-04-30 12:37:50 +01:00
distroregistry distroregistry: enable CS9 2022-02-18 10:39:08 +00:00
jobqueue test: use T.TempDir to create temporary test directory 2022-04-05 09:27:43 +02:00
jsondb test: use T.TempDir to create temporary test directory 2022-04-05 09:27:43 +02:00
kojiapi kojiapi: use DepsolvePackageSets instead of Depsolve 2022-04-28 14:42:49 +02:00
mocks rpmmd: introduce DepsolvePackageSets() to the RPMMD interface 2022-04-28 14:42:49 +02:00
osbuild1 distro: deduplicate groupStageOptions() in RHEL pipelines 2022-04-06 12:09:09 +02:00
osbuild2 osbuild2: use source-array-ref for rpm stage inputs 2022-04-27 11:51:25 +02:00
ostree ostree: rename errors and introduce ParameterComboError 2022-02-23 11:08:24 +01:00
prometheus metrics: change job metrics namespace 2022-02-08 15:57:12 +01:00
reporegistry reporegistry: remove unused ReposByArch() function 2022-03-09 23:22:06 +00:00
rhsm internal/rhsm: implement fallback to the previous mechanism 2021-08-09 12:40:23 +02:00
rpmmd rpmmd: introduce DepsolvePackageSets() to the RPMMD interface 2022-04-28 14:42:49 +02:00
store RHEL-86: add gce-rhui image type 2022-04-14 19:07:31 +01:00
target Weldr: support GCP upload target 2022-04-14 19:07:31 +01:00
test internal/test: add small library for tests 2022-03-08 12:07:00 +01:00
upload koji: fix excessive logging & monitoring 2022-04-05 23:48:30 +02:00
weldr Weldr: use rpmmd.DepsolvePackageSets() in compose handler 2022-04-28 14:42:49 +02:00
worker worker: extend the depsolve job to use DepsolvePackageSets() 2022-04-28 14:42:49 +02:00
tools.go go: vendor the oapi-codegen cmd 2021-02-01 15:32:58 +01:00