RHEL-9.0: replace the @core package group with a static list of packages

Don't use the `@core` package group in image definitions, because it is
not intended as the minimal package set for virtual / cloud images. In
addition, its content is changing without us knowing, which has
consequences such as the recent discovery of the fact that TuneD is no
longer installed by default on RHEL images, while it definitely should be.

Replace the `@core` package group with the `coreOsCommonPackageSet`
package set. The content of it is based on the latest `@core` group
definition with a few modifications, so that image package sets
never end up having the same package listed in the `Include` and `Exclude`
package set at the same time. All additions have been accompanied with a
comment and all removals have been kept commented out with a comment.

The fact that the change does not have any effect on image package sets
was verified by regenerating all RHEL-9.0 image test cases. There is
however one change in the VMDK image. Specifically the
`python3-libselinux` package have been added. The reason is that the
latest `@core` group definition was used when defining the content of
`coreOsCommonPackageSet`, however the `@core` group definition in the
RPMRepo snapshot used for the image test case didn't include the package
yet.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
Tomas Hozza 2021-11-26 14:31:40 +01:00 committed by Achilleas Koutsou
parent aee86c1199
commit bab13f3c90
2 changed files with 271 additions and 65 deletions

View file

@ -753,6 +753,7 @@
"sha256:f27279ad4284843cc7d3c81ccf9eb11dbac4826a20d65e643b2f4404ef76fff1",
"sha256:9430eea24431470fa135cb08ea1be9731794445c3a1ed7e178aa8aa81a91a717",
"sha256:1fc66abab29fa0c42939862b41b98e4d90165985dfd4c2c0c78330e350879758",
"sha256:3beca4e8341b55f857ec0ff5ffd985bdb77879fae48e687a56811b8ac500e558",
"sha256:e944eb6ecda4b121fa4cb62b08264665e34c3f9079644a0bd5fe6f470d6ca53b",
"sha256:2642e4623fcf504cfaaeac1bfec8d5dab0de93b2f038931e7789461cf3107c59",
"sha256:9092b0ad7e9d343d446ae0030763c2e526ff922e7680df4c29d507e38c858d7d",
@ -9122,6 +9123,15 @@
"remote_location": "https://rpmrepo.osbuild.org/v2/mirror/rhvpn/el9/el9-x86_64-appstream-n9.0-20210930/Packages/python-unversioned-command-3.9.7-1.el9.noarch.rpm",
"checksum": "sha256:1fc66abab29fa0c42939862b41b98e4d90165985dfd4c2c0c78330e350879758"
},
{
"name": "python3-libselinux",
"epoch": 0,
"version": "3.2",
"release": "6.el9",
"arch": "x86_64",
"remote_location": "https://rpmrepo.osbuild.org/v2/mirror/rhvpn/el9/el9-x86_64-appstream-n9.0-20210930/Packages/python3-libselinux-3.2-6.el9.x86_64.rpm",
"checksum": "sha256:3beca4e8341b55f857ec0ff5ffd985bdb77879fae48e687a56811b8ac500e558"
},
{
"name": "python3-unbound",
"epoch": 0,
@ -9730,6 +9740,7 @@
"python3-libdnf-0.63.0-4.el9.x86_64",
"python3-librepo-1.14.0-6.el9.x86_64",
"python3-libs-3.9.7-1.el9.x86_64",
"python3-libselinux-3.2-6.el9.x86_64",
"python3-libxml2-2.9.12-4.el9.x86_64",
"python3-linux-procfs-0.6.3-2.el9.noarch",
"python3-nftables-0.9.8-7.el9.x86_64",