rhel8/azure: sort the common package set

Sorted lists of strings make it easier to add and remove elements
without needing to think about the order, making diffs easier.

The sorting was done using the 'sort' coreutils command with LC_ALL=C.
This commit is contained in:
Achilleas Koutsou 2023-05-03 14:36:59 +02:00 committed by Tomáš Hozza
parent 5337b746e4
commit 9132dd469e

View file

@ -150,37 +150,47 @@ func azureCommonPackageSet(t *imageType) rpmmd.PackageSet {
"@Server",
"NetworkManager",
"NetworkManager-cloud-setup",
"WALinuxAgent",
"bzip2",
"cloud-init",
"cloud-utils-growpart",
"cryptsetup-reencrypt",
"dracut-config-generic",
"dracut-norescue",
"efibootmgr",
"firewalld",
"gdisk",
"hyperv-daemons",
"kernel",
"kernel-core",
"kernel-modules",
"selinux-policy-targeted",
"efibootmgr",
"lvm2",
"dracut-config-generic",
"dracut-norescue",
"bzip2",
"langpacks-en",
"yum-utils",
"WALinuxAgent",
"cloud-init",
"cloud-utils-growpart",
"gdisk",
"hyperv-daemons",
"lvm2",
"nvme-cli",
"cryptsetup-reencrypt",
"uuid",
"rng-tools",
"patch",
"rng-tools",
"selinux-policy-targeted",
"uuid",
"yum-utils",
},
Exclude: []string{
"NetworkManager-config-server",
"aic94xx-firmware",
"alsa-firmware",
"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",
"iwl1000-firmware",
"iwl100-firmware",
"iwl1000-firmware",
"iwl105-firmware",
"iwl135-firmware",
"iwl2000-firmware",
@ -198,25 +208,16 @@ func azureCommonPackageSet(t *imageType) rpmmd.PackageSet {
"libertas-sd8686-firmware",
"libertas-sd8787-firmware",
"libertas-usb8388-firmware",
"glibc-all-langpacks",
"biosdevname",
"cockpit-podman",
"bolt",
"buildah",
"containernetworking-plugins",
"dnf-plugin-spacewalk",
"iprutils",
"plymouth",
"podman",
"python3-dnf-plugin-spacewalk",
"python3-rhnlib",
"python3-hwdata",
"NetworkManager-config-server",
"python3-rhnlib",
"rhn-check",
"rhn-client-tools",
"rhn-setup",
"rhnsd",
"rhn-check",
"rhnlib",
"rhnsd",
"usb_modeswitch",
},
}.Append(bootPackageSet(t)).Append(distroSpecificPackageSet(t))