debian-forge-composer/internal/client
Christian Kellner b562d144ca distro/*: allow /boot to be customized
Since the LVM support was added to all distros, our disk
related code is adaptive, i.e. we will set the correct BLS
and grub2 prefix if there a `boot` partiton is present in
the layout after all customizations happen, which includes
LVMification.
One thing that was not yet fully working was layouts that
do not yet have a `/boot` partition but allow LVMification.
In that case `NewPartitionTable` and if `/boot` was the
first (or only) customization, would LVMify the partition
which in turn would create the `/boot` partition; but after
`newPT.ensureLVM()` the call to `newPT.createFilesystem`
with `/boot` would try to create another `/boot` mountpoint.
In order to deal with this situation correctly we are now
using a two phase approach: 1) enlarge existing mountpoints
and collect new ones. 2) if there are new ones and LMVify
was allowed, switch to LVM layout. Do a second pass and now
create or enlarge existing partitions, handling `/boot` in
the process.
2022-08-08 18:05:05 +02:00
..
blueprints.go Move the API struct definitions into internal/weldr 2020-03-23 21:08:01 +01:00
blueprints_test.go Move isStringInSlice to common.IsStringInSlice 2021-07-12 08:58:42 +02:00
client.go client: Add GetRawBody function to return the io.ReadCloser from the request 2020-04-15 11:35:05 +02:00
client_test.go tests: replace cmd.Diff() with require functions 2020-04-20 14:00:49 +02:00
compose.go client: Add Cancel function and tests 2022-02-18 09:31:07 +01:00
compose_test.go distro/*: allow /boot to be customized 2022-08-08 18:05:05 +02:00
integration_test.go Tests: remove fedoratest and replace it with test_distro 2021-05-14 15:43:00 +02:00
modules.go client: Add /modules/ support 2020-03-25 10:01:14 +01:00
modules_test.go client: Handle the differences between unit tests and integration tests 2020-03-27 19:07:33 +01:00
projects.go client: Add /projects/ support 2020-03-25 10:01:14 +01:00
projects_test.go client: Handle the differences between unit tests and integration tests 2020-03-27 19:07:33 +01:00
source.go weldr: Add support for the v1 API to /projects/source/delete 2020-06-03 21:24:47 +02:00
source_test.go weldr: accept rhsm parameter in sources 2021-07-27 15:39:36 +02:00
unit_test.go tests: use TestMain() instead of Init() to compile mock-dnf-json 2022-06-01 11:36:52 +01:00
utils.go Move isStringInSlice to common.IsStringInSlice 2021-07-12 08:58:42 +02:00
weldr.go Move the API struct definitions into internal/weldr 2020-03-23 21:08:01 +01:00