lorax-templates-rhel/80-rhel/runtime-install.tmpl
Yaakov Selkowitz 111bafa157 runtime-install: Revert "Replace wget with wget2"
This reverts commit b78f09a8fd.

Resolves: RHEL-45269
2024-07-22 16:31:33 -04:00

171 lines
5.7 KiB
Cheetah

## lorax template file: populate the ramdisk (runtime image)
<%page args="basearch, product"/>
<%
# Version 1:2.06-3 of grub2 moves the font directory and is needed to keep the efi template from failing.
# Version 1:2.06-67 of grub2 includes all needed modules in the signed core.elf for ppc64le
GRUB2VER="1:2.06-67"
%>
## anaconda package
installpkg anaconda anaconda-widgets kdump-anaconda-addon anaconda-install-img-deps
installpkg redhat-release-eula
## FIXME Pull in device-mapper-multipath
## This *should* be pulled in by libblockdev-plugins-all and libblockdev-mpath but it is not
installpkg device-mapper-multipath
## Other available payloads
installpkg dnf
installpkg rpm-ostree ostree
## speed up compression on multicore systems
installpkg pigz
## kernel and firmware
## NOTE: Without explicitly including kernel-modules-extra dnf will choose kernel-debuginfo-*
## to satify a gfs2-utils kmod requirement
installpkg kernel kernel-modules kernel-modules-extra
installpkg grubby
%if basearch != "s390x":
## skip the firmware for sound, video, and scanners, none of which will
## do much good for the installer. Also skip uhd-firmware which is not
## even a kernel firmware package. liquidio and netronome firmwares are
## for enterprise switch devices, netinst deployment does not work on
## these so there is no point shipping them - see
## https://bugzilla.redhat.com/show_bug.cgi?id=2011615
## bfa-firmware contains only obsolete files - see
## https://bugzilla.redhat.com/show_bug.cgi?id=2152202
## Only install qcom-firmware on aarch64
## Exclude the audio firmware which is unused on the boot.iso
installpkg --optional *-firmware --except alsa* --except midisport-firmware \
--except crystalhd-firmware --except ivtv-firmware \
--except cx18-firmware --except iscan-firmware \
--except uhd-firmware --except lulzbot-marlin-firmware \
--except gnome-firmware --except sigrok-firmware \
--except liquidio-firmware --except netronome-firmware \
--except mrvlprestera-firmware --except mlxsw_spectrum-firmware \
--except hackrf-firmware --except python-virt-firmware \
--except python3-virt-firmware --except qcom-firmware \
--except dvb-firmware --except intel-vsc-firmware \
--except cirrus-audio-firmware --except intel-audio-firmware
%endif
## install all of the glibc langpacks since otherwise we get no locales
installpkg glibc-all-langpacks
## arch-specific packages (bootloaders etc.)
%if basearch == "aarch64":
installpkg efibootmgr
installpkg grub2-efi-aa64-cdboot>=${GRUB2VER}
installpkg grub2-tools>=${GRUB2VER}
installpkg shim-aa64
installpkg qcom-firmware
%endif
%if basearch == "x86_64":
installpkg grub2-tools-efi>=${GRUB2VER}
installpkg efibootmgr
installpkg shim-x64
installpkg grub2-efi-x64-cdboot>=${GRUB2VER}
installpkg biosdevname
installpkg grub2-tools>=${GRUB2VER} grub2-tools-minimal>=${GRUB2VER}
installpkg grub2-tools-extra>=${GRUB2VER}
installpkg grub2-pc-modules>=${GRUB2VER}
%endif
%if basearch == "ppc64le":
installpkg powerpc-utils lsvpd ppc64-diag
installpkg grub2-tools>=${GRUB2VER} grub2-tools-minimal>=${GRUB2VER}
installpkg grub2-tools-extra>=${GRUB2VER} grub2-${basearch}>=${GRUB2VER}
%endif
%if basearch == "s390x":
installpkg lsscsi s390utils-base s390utils-cmsfs-fuse s390utils-hmcdrvfs
%endif
## yay, plymouth
installpkg plymouth
## extra dracut modules
installpkg anaconda-dracut dracut-network dracut-config-generic
## import-state.service for switchroot
installpkg initscripts
## rescue needs this
installpkg cryptsetup
## rpcbind or portmap needed by dracut nfs module
installpkg rpcbind
## required for dracut
installpkg kbd kbd-misc
## required for anaconda-dracut (img-lib etc.)
installpkg tar xz curl bzip2
## this is only recommended by librsvg2 since 2023-07, but in the
## installer environment many icons used are only present as SVGs,
## so we really need it
installpkg rsvg-pixbuf-loader
## basic system stuff
installpkg rsyslog
## filesystem tools
installpkg xfsprogs dosfstools
installpkg device-mapper-persistent-data
installpkg xfsdump
## extra storage packages
# hostname is needed for iscsi to work, see RHBZ#1593917
installpkg udisks2 udisks2-iscsi hostname
## extra libblockdev plugins
installpkg libblockdev-lvm-dbus
## needed for LUKS escrow
installpkg volume_key
installpkg nss-tools
## SELinux support
installpkg selinux-policy-targeted audit
## network tools/servers
installpkg ethtool openssh-server nfs-utils openssh-clients
installpkg net-tools
installpkg ipcalc
installpkg nmap-ncat
installpkg prefixdevname
## hardware utilities/libraries
installpkg pciutils usbutils ipmitool
installpkg mt-st smartmontools
installpkg hdparm
installpkg rdma-core
installpkg rng-tools
%if basearch in ("x86_64", "aarch64"):
installpkg dmidecode
%endif
installpkg nvme-cli
## fonts & themes
installpkg default-fonts-core-sans
installpkg default-fonts-other-sans
## We can't go with this because google-noto-sans-cjk-vf-fonts is too big.
# installpkg default-fonts-cjk-sans
installpkg google-noto-sans-cjk-fonts
## debugging/bug reporting tools
installpkg gdb-gdbserver
installpkg python3-pyatspi
## extra tools not required by anaconda
installpkg nano
installpkg vim-minimal strace lsof xz less
installpkg wget rsync bind-utils ftp mtr
installpkg spice-vdagent
installpkg hexedit sg3_utils
installpkg perl-interpreter
installpkg restore
## actually install all the requested packages
run_pkg_transaction