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 306f9b4
Show file tree
Hide file tree
Showing 41 changed files with 583 additions and 480 deletions.
49 changes: 49 additions & 0 deletions definitions/centos/10/generic/ami.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
spec:
packages:
- "@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_packages:
- 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
76 changes: 76 additions & 0 deletions definitions/centos/10/generic/gce.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
spec:
packages:
- "@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_packages:
- 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
56 changes: 56 additions & 0 deletions definitions/centos/10/generic/image-installer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
spec:
packages:
- "@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_packages:
- 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 @@
includes:
- 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 @@
includes:
- vmdk.yaml
57 changes: 57 additions & 0 deletions definitions/centos/10/generic/qcow2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
spec:
packages:
- "@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_packages:
- 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
6 changes: 6 additions & 0 deletions definitions/centos/10/generic/tar.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
spec:
packages:
- policycoreutils
- selinux-policy-targeted
exclude_packages:
- rng-tools
52 changes: 52 additions & 0 deletions definitions/centos/10/generic/ubi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
spec:
packages:
- 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_packages:
- gawk-all-langpacks
- glibc-gconv-extra
- glibc-langpack-en
- openssl-pkcs11
- python-unversioned-command
- redhat-release-eula
- rpm-plugin-systemd-inhibit
70 changes: 70 additions & 0 deletions definitions/centos/10/generic/vhd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
spec:
packages:
- "@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_packages:
- 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
12 changes: 12 additions & 0 deletions definitions/centos/10/generic/vmdk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
spec:
packages:
- "@core"
- chrony
- cloud-init
- firewalld
- langpacks-en
- open-vm-tools
- tuned
exclude_packages:
- dracut-config-rescue
- rng-tools
Loading

0 comments on commit 306f9b4

Please sign in to comment.