debian-forge-composer/internal
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
..
artifact artifact: this represents the artifacts a manifest exports 2022-07-22 16:04:07 +02:00
auth go.mod: Update openshift-online/ocm-sdk-go 2022-05-19 22:18:42 +02:00
blueprint blueprint/customizations: oscap config 2022-08-04 18:19:06 +02:00
boot Move GetRedHatRelease() and GetHostDistroName() to common package 2022-06-10 14:48:18 +01:00
client distro/*: allow /boot to be customized 2022-08-08 18:05:05 +02:00
cloud remove cloud cleaner 2022-07-01 17:47:44 +02:00
cloudapi cloudapi: support container embedding 2022-08-04 14:37:12 +02:00
common Move GetRedHatRelease() and GetHostDistroName() to common package 2022-06-10 14:48:18 +01:00
container job/osbuild: move utility the container package 2022-08-01 21:50:03 +01:00
crypt crypt: add automatic darwin support 2020-07-17 07:48:22 +02:00
disk distro/*: allow /boot to be customized 2022-08-08 18:05:05 +02:00
distro distro/*: allow /boot to be customized 2022-08-08 18:05:05 +02:00
distroregistry remove all traces of fedora 34 2022-07-18 20:38:33 +02:00
dnfjson jobqueue: Move jobqueue out of internal 2022-07-04 15:37:28 +02:00
environment environment: encapsulate the environment images are deployed to 2022-07-07 12:00:56 +01:00
image image: introduce image kinds for Fedora 2022-07-22 16:04:07 +02:00
jobqueue jobqueue: store an expiry date 2022-07-13 17:26:04 +02:00
jsondb test: use T.TempDir to create temporary test directory 2022-04-05 09:27:43 +02:00
manifest distro: add oscap packages to build root 2022-08-04 18:19:06 +02:00
mocks dnfjson: drop repo checksums 2022-06-01 11:36:52 +01:00
osbuild osbuild: new stage oscap remediation 2022-08-04 18:19:06 +02:00
oscap oscap: add oscap package 2022-08-04 18:19:06 +02:00
ostree ostree: add new CommitSource type 2022-06-15 20:13:47 +02:00
platform platform: include image format 2022-07-22 16:04:07 +02:00
prometheus metrics: build jobs arch label 2022-07-27 13:37:14 +02: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 Rename osbuild2 package to osbuild 2022-07-14 16:54:00 +02:00
runner runner: introduce runner abstraction 2022-07-12 08:19:57 +01:00
store distro: add containers arg to ImageType.Manifest 2022-07-21 13:32:07 +02:00
target worker: Remove ellipsis operator from clienterrors.Error 2022-08-03 13:51:52 +02:00
test cloudapi: run all Koji compose unit tests 2022-06-10 14:48:18 +01:00
upload worker/osbuild: stop handling VMDK stream-optimized conversion 2022-07-01 18:55:01 +01:00
weldr worker: Remove ellipsis operator from clienterrors.Error 2022-08-03 13:51:52 +02:00
worker cloudapi: support container embedding 2022-08-04 14:37:12 +02:00
workload workload: introduce abstraction to encapsulate image workloads 2022-07-07 12:00:56 +01:00
tools.go go: vendor the oapi-codegen cmd 2021-02-01 15:32:58 +01:00