Skip to content

Commit

Permalink
rhel10: convert package sets to yaml definitions
Browse files Browse the repository at this point in the history
This commit moves all os pipeline packages to the new definition format.
There should be no functional changes in images.
  • Loading branch information
ondrejbudai committed Jan 15, 2025
1 parent 2e474b6 commit 754118a
Show file tree
Hide file tree
Showing 41 changed files with 613 additions and 480 deletions.
51 changes: 51 additions & 0 deletions definitions/centos/10/generic/ami.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
def:
packages:
os:
include:
- "@core"
- chrony
- cloud-init
- cloud-utils-growpart
- dhcpcd
- yum-utils
- dracut-config-generic
- grub2
- langpacks-en
- NetworkManager-cloud-setup
- redhat-release
- redhat-release-eula
- rsync
- tuned
- tar
exclude:
- aic94xx-firmware
- alsa-firmware
- alsa-tools-firmware
- biosdevname
- firewalld
- iprutils
- ivtv-firmware
- iwl1000-firmware
- iwl100-firmware
- iwl105-firmware
- iwl135-firmware
- iwl2000-firmware
- iwl2030-firmware
- iwl3160-firmware
- iwl3945-firmware
- iwl4965-firmware
- iwl5000-firmware
- iwl5150-firmware
- iwl6000-firmware
- iwl6000g2a-firmware
- iwl6000g2b-firmware
- iwl6050-firmware
- iwl7260-firmware
- libertas-sd8686-firmware
- libertas-sd8787-firmware
- libertas-usb8388-firmware
- plymouth
# RHBZ#2064087
- dracut-config-rescue
# RHBZ#2075815
- qemu-guest-agent
78 changes: 78 additions & 0 deletions definitions/centos/10/generic/gce.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
def:
packages:
os:
include:
- "@core"
- langpacks-en # not in Google's KS
- acpid
- dnf-automatic
- net-tools
- python3
- rng-tools
- tar
- vim

# GCE guest tools
# TODO: uncomment once the package is available
# the el9 version depends on libboost_regex.so.1.75.0()(64bit), which is not available on el10
# - google-compute-engine
- google-osconfig-agent
# Requires gdisk which was removed late in the RHEL 10 development cycle
# - gce-disk-expand
# cloud-init is a replacement for "google-compute-engine", remove once the package is available
- cloud-init

# Not explicitly included in GCP kickstart, but present on the image
# for time synchronization
- chrony
- timedatex
# EFI
- grub2-tools
- grub2-tools-minimal
# Performance tuning
- tuned
exclude:
- alsa-utils
- b43-fwcutter
- dmraid
- dracut-config-rescue
- eject
- gpm
- irqbalance
- microcode_ctl
- smartmontools
- aic94xx-firmware
- atmel-firmware
- b43-openfwwf
- bfa-firmware
- ipw2100-firmware
- ipw2200-firmware
- ivtv-firmware
- iwl100-firmware
- iwl105-firmware
- iwl135-firmware
- iwl1000-firmware
- iwl2000-firmware
- iwl2030-firmware
- iwl3160-firmware
- iwl3945-firmware
- iwl4965-firmware
- iwl5000-firmware
- iwl5150-firmware
- iwl6000-firmware
- iwl6000g2a-firmware
- iwl6050-firmware
- iwl7260-firmware
- kernel-firmware
- libertas-usb8388-firmware
- ql2100-firmware
- ql2200-firmware
- ql23xx-firmware
- ql2400-firmware
- ql2500-firmware
- rt61pci-firmware
- rt73usb-firmware
- xorg-x11-drv-ati-firmware
- zd1211-firmware
# RHBZ#2075815
- qemu-guest-agent
58 changes: 58 additions & 0 deletions definitions/centos/10/generic/image-installer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
def:
packages:
os:
include:
- "@core"
- chrony
- cockpit-system
- cockpit-ws
- dnf-utils
- dosfstools
- firewalld
- iwl1000-firmware
- iwl100-firmware
- iwl105-firmware
- iwl135-firmware
- iwl2000-firmware
- iwl2030-firmware
- iwl3160-firmware
- iwl5000-firmware
- iwl5150-firmware
- iwl6000g2a-firmware
- iwl6000g2b-firmware
- iwl6050-firmware
- iwl7260-firmware
- lvm2
- net-tools
- nfs-utils
- oddjob
- oddjob-mkhomedir
- policycoreutils
- psmisc
- python3-jsonschema
- qemu-guest-agent
- redhat-release
- redhat-release-eula
- rsync
- tar
- tcpdump
- tuned

# This was pulled from distroBuildPackageSet for some reason
- dnf
- dosfstools
- e2fsprogs
- glibc
- lorax-templates-generic
- lorax-templates-rhel
- lvm2
- policycoreutils
- python3-iniparse
- qemu-img
- selinux-policy-targeted
- systemd
- tar
- xfsprogs
- xz
exclude:
- dracut-config-rescue
2 changes: 2 additions & 0 deletions definitions/centos/10/generic/oci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from:
- qcow2.yaml
2 changes: 2 additions & 0 deletions definitions/centos/10/generic/ova.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from:
- vmdk.yaml
59 changes: 59 additions & 0 deletions definitions/centos/10/generic/qcow2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
def:
packages:
os:
include:
- "@core"
- chrony
- cloud-init
- cloud-utils-growpart
- cockpit-system
- cockpit-ws
- dnf-utils
- dosfstools
- nfs-utils
- oddjob
- oddjob-mkhomedir
- psmisc
- python3-jsonschema
- qemu-guest-agent
- redhat-release
- redhat-release-eula
- rsync
- tar
- tuned
- tcpdump
exclude:
- aic94xx-firmware
- alsa-firmware
- alsa-lib
- alsa-tools-firmware
- biosdevname
- dnf-plugin-spacewalk
- dracut-config-rescue
- fedora-release
- fedora-repos
- firewalld
- iprutils
- ivtv-firmware
- iwl1000-firmware
- iwl100-firmware
- iwl105-firmware
- iwl135-firmware
- iwl2000-firmware
- iwl2030-firmware
- iwl3160-firmware
- iwl3945-firmware
- iwl4965-firmware
- iwl5000-firmware
- iwl5150-firmware
- iwl6000-firmware
- iwl6000g2a-firmware
- iwl6000g2b-firmware
- iwl6050-firmware
- iwl7260-firmware
- langpacks-*
- langpacks-en
- libertas-sd8787-firmware
- plymouth
- rng-tools
- udisks2
8 changes: 8 additions & 0 deletions definitions/centos/10/generic/tar.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
def:
packages:
os:
include:
- policycoreutils
- selinux-policy-targeted
exclude:
- rng-tools
54 changes: 54 additions & 0 deletions definitions/centos/10/generic/ubi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
def:
packages:
os:
include:
- alternatives
- audit-libs
- basesystem
- bash
- ca-certificates
- coreutils-single
- crypto-policies-scripts
- curl-minimal
- dejavu-sans-fonts
- dnf
- filesystem
- findutils
- gdb-gdbserver
# Differs from official UBI, as we don't include CRB repos
# - gdbm
- glibc-minimal-langpack
- gmp
- gnupg2
- gobject-introspection
- hostname
- langpacks-en
- libcurl-minimal
- openssl
- pam
- passwd
- procps-ng
- python3
- python3-inotify
- redhat-release
- rootfiles
- rpm
- sed
- setup
- shadow-utils
- subscription-manager
- systemd
- tar
- tpm2-tss
- tzdata
- util-linux
- vim-minimal
- yum
exclude:
- gawk-all-langpacks
- glibc-gconv-extra
- glibc-langpack-en
- openssl-pkcs11
- python-unversioned-command
- redhat-release-eula
- rpm-plugin-systemd-inhibit
72 changes: 72 additions & 0 deletions definitions/centos/10/generic/vhd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
def:
packages:
os:
include:
- "@Server"
- bzip2
- cloud-init
- cloud-utils-growpart
- dracut-config-generic
- efibootmgr
- hyperv-daemons
- kernel-core
- kernel-modules
- kernel
- langpacks-en
- lvm2
- NetworkManager
- NetworkManager-cloud-setup
- nvme-cli
- patch
- rng-tools
- selinux-policy-targeted
- uuid
- WALinuxAgent
- yum-utils
exclude:
- aic94xx-firmware
- alsa-firmware
- alsa-lib
- alsa-sof-firmware
- alsa-tools-firmware
- biosdevname
- bolt
- buildah
- cockpit-podman
- containernetworking-plugins
- dnf-plugin-spacewalk
- dracut-config-rescue
- glibc-all-langpacks
- iprutils
- ivtv-firmware
- iwl100-firmware
- iwl1000-firmware
- iwl105-firmware
- iwl135-firmware
- iwl2000-firmware
- iwl2030-firmware
- iwl3160-firmware
- iwl3945-firmware
- iwl4965-firmware
- iwl5000-firmware
- iwl5150-firmware
- iwl6000-firmware
- iwl6000g2a-firmware
- iwl6000g2b-firmware
- iwl6050-firmware
- iwl7260-firmware
- libertas-sd8686-firmware
- libertas-sd8787-firmware
- libertas-usb8388-firmware
- NetworkManager-config-server
- plymouth
- podman
- python3-dnf-plugin-spacewalk
- python3-hwdata
- python3-rhnlib
- rhn-check
- rhn-client-tools
- rhn-setup
- rhnlib
- rhnsd
- usb_modeswitch
Loading

0 comments on commit 754118a

Please sign in to comment.