debian-forge-composer/internal
Tomas Hozza 49ed70a565 rhel85: introduce BootType and use it for arch and image definitions
Previously, the support of UEFI has been captured only on the level or
architecture definition as a binary boolean value. In reality some of
the architectures are able to support legacy, UEFI or hybrid boot.

Introduce a new BootType value, defined on the architecture level, which
can be set to one of the three boot types mentioned above. The value set
on the architecture level can be overridden on the image type level in
the image type definition.

Add two unexported helper methods to the `imageType`, specifically
`getBootType()` which returns the boot type that  should be used for the
image type and architecture combination. The values set explicitly in
the image type or architecture definition should not be used directly.
Second added method is `supportsUEFI()`, which returns boolean value
representing the fact if the image type supports UEFI boot.

Split and define the boot package sets separately for the legacy and
UEFI boot. The `PackageSets()` method of the imageType structure is
modified to take the boot type into consideration and append appropriate
package sets to the "os" package set.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-08-02 19:05:09 +02:00
..
blueprint blueprint: test minsize and sector-size validation 2021-07-28 21:44:03 +01:00
boot upload/aws: add support for session tokens 2021-06-28 13:14:19 +03:00
client Weldr API: introduce Image Type denylist for filtering exposed images 2021-08-02 18:51:03 +02:00
cloud/gcp test/api.sh: randomize used GCP zone from the region 2021-07-16 10:14:30 +02:00
cloudapi cloudapi: Add User customization 2021-07-28 10:40:25 +02:00
common internal/common: add function to get a pointer to string literal 2021-08-02 19:05:09 +02:00
crypt crypt: add automatic darwin support 2020-07-17 07:48:22 +02:00
disk disk: boot partition finder as partitiontable method 2021-07-24 15:54:00 +02:00
distro rhel85: introduce BootType and use it for arch and image definitions 2021-08-02 19:05:09 +02:00
distroregistry distro: drop Fedora 32 2021-07-05 11:16:08 +02:00
jobqueue jobqueue: Introduce jobqueue backed by a postgres database 2021-07-28 21:52:31 +01:00
jsondb jsondb: Allow passing nil as document to Read() 2020-05-13 16:45:09 +02:00
kojiapi worker: Move job tokens to the queue itself 2021-07-08 21:14:38 +01:00
mocks worker: Add identity filter and client oauth support 2021-06-17 10:08:35 +02:00
osbuild1 osbuild1: convert stage metadata from v2 2021-06-29 09:33:05 +01:00
osbuild2 osbuild2: extend chrony stage with leapsectz property 2021-08-02 19:05:09 +02:00
ostree ostree: add test for VerifyRef() 2021-06-18 14:02:09 +01:00
prometheus worker: add metrics 2021-07-23 21:54:28 +02:00
reporegistry reporegistry: Add a DistroHasRepos helper function 2021-07-12 08:58:42 +02:00
rpmmd rhel85: distro and arch package sets 2021-07-01 12:48:32 +02:00
store weldr: accept rhsm parameter in sources 2021-07-27 15:39:36 +02:00
target New upload target: AWS S3 2021-06-18 14:02:09 +01:00
test worker: Add identity filter and client oauth support 2021-06-17 10:08:35 +02:00
upload spec: drop hacks for Fedora 32 2021-07-05 11:16:08 +02:00
weldr Weldr API: allow globing in distro image type deny list 2021-08-02 18:51:03 +02:00
worker worker: add metrics 2021-07-23 21:54:28 +02:00
tools.go go: vendor the oapi-codegen cmd 2021-02-01 15:32:58 +01:00