debian-forge-composer/internal
Tomáš Hozza dd26769abc distro/rhel: don't extend image pkg sets with boot packages
Do not extend the image base package set with list of packages needed
for booting the OS, returned by `bootPackageSet()` based on the specific
image type, architecture and its boot type. This duplicated
functionality that is already handled by the platform associated image
and all the necessary packages are provided by the platform's
`GetPackages()` method and added to the base package list.

This reflects changes which were done in Fedora when it was ported to
the "new" image definitions, but were not ported to RHEL.

RHEL-8 GCE image type note:
After a previous change, the image boot type is now determined by the
associated platform and as a result, the GCE image type is marked as
supporting hybrid boot type, although it was meant to be UEFI only. As a
result, the package list returned by `bootPackageSet()` and previously
appended would contain grub2 BIOS-related packages. This is still the
case after this change, because the platform's `GetPackages()` method
will return the same list of packages in this case. However, the
platform used by RHEL-8 GCE image type has its `GetPackages()`
overridden by a different implementation not containing grub2 BIOS
related packages. For some reason, this change is not present in RHEL-9.
As a result, the grub2 BIOS related packages disappeared from the RHEL-8
GCE image package set, while there was no change in RHEL-9.

Keep the GCE image as is for now and make it an UEFI-only in a follow
up.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-05-19 13:24:39 +02:00
..
artifact artifact: this represents the artifacts a manifest exports 2022-07-22 16:04:07 +02:00
auth Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
blueprint internal/blueprint: repo filename validation 2023-05-03 18:27:06 +02:00
boot upload/azure: migrate from azure-storage-blob-go to azure-sdk-for-go 2023-04-04 09:09:43 +02:00
client internal/rpmmd: RepoConfig baseurl change 2023-04-21 17:40:00 +02:00
cloud Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
cloudapi internal/cloudapi: fix custom repo fields 2023-05-03 18:27:06 +02:00
common upload/azure: migrate from azure-storage-blob-go to azure-sdk-for-go 2023-04-04 09:09:43 +02:00
container container: update unit tests to match expected behaviour 2023-04-19 20:07:40 +02:00
crypt Remove old build tag comments 2023-03-07 09:22:23 -08:00
disk internal/disk: Remove RequiredSizes property. 2023-03-20 11:04:14 +01:00
distro distro/rhel: don't extend image pkg sets with boot packages 2023-05-19 13:24:39 +02:00
distroregistry distro: add support for RHEL-8.9 and RHEL-9.3 2023-03-27 11:39:24 +02:00
dnfjson dnf-json: replace dnf hash function 2023-04-26 14:16:16 +01:00
environment environment: encapsulate the environment images are deployed to 2022-07-07 12:00:56 +01:00
fdo New package: fdo 2022-12-11 12:37:37 +00:00
fsnode internal/fsnode: add API for custom directories and files 2023-02-22 12:17:36 +01:00
ignition ignition: drop embedded provisioning url 2023-02-07 13:30:22 +01:00
image simplified-installer: enable isolinux 2023-03-15 12:35:50 +01:00
jobqueue worker/server: requeue unresponsive jobs 2022-11-02 15:26:00 +01:00
jsondb Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
manifest internal/manifest: restorecon after registering 2023-05-12 11:02:49 +02:00
mocks rpmmd/repository: repoconfig pointers 2023-04-21 17:40:00 +02:00
osbuild osbuild: yum repo stage from RepoConfig 2023-04-21 17:40:00 +02:00
oscap oscap: add oscap package 2022-08-04 18:19:06 +02:00
ostree Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
pathpolicy distro: add dir / files customizations policy check 2023-02-22 12:17:36 +01:00
platform platform/s390x: return sane values from GetZiplSupport() 2023-05-19 13:24:39 +02:00
prometheus prometheus:: add arch label to dequeue metrics 2023-03-09 18:47:57 +01:00
remotefile remotefile: Use io.ReadAll not ioutil.ReadAll 2023-03-22 08:14:01 -07:00
reporegistry internal/rpmmd: RepoConfig baseurl change 2023-04-21 17:40:00 +02:00
rhsm internal/rpmmd: RepoConfig baseurl change 2023-04-21 17:40:00 +02:00
rpmmd internal/rpmmd: add missing fields to RepoConfig 2023-04-21 17:40:00 +02:00
runner runner: add platform-python only for RHEL 8+ 2023-01-25 20:37:12 +01:00
shell shell: new package for representing shell init configs internally 2023-03-30 18:40:12 +02:00
store rpmmd/repository: repoconfig pointers 2023-04-21 17:40:00 +02:00
target internal/target/azure_image: mark Location as optional 2022-10-27 19:33:43 +02:00
test Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
upload upload/koji: always upload in the overwriting mode 2023-05-18 09:25:22 +02:00
users users: convenience functions for converting from BP 2022-09-13 16:06:19 +01:00
weldr rpmmd/repository: repoconfig pointers 2023-04-21 17:40:00 +02:00
worker internal/rpmmd: RepoConfig baseurl change 2023-04-21 17:40:00 +02:00
workload workload: introduce abstraction to encapsulate image workloads 2022-07-07 12:00:56 +01:00
tools.go Remove old build tag comments 2023-03-07 09:22:23 -08:00