2018-06-18 16:43:58 +00:00
|
|
|
## lorax template file: populate the ramdisk (runtime image)
|
|
|
|
<%page args="basearch, product"/>
|
2022-11-16 21:44:41 +00:00
|
|
|
<%
|
|
|
|
# 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"
|
|
|
|
%>
|
2018-06-18 16:43:58 +00:00
|
|
|
|
|
|
|
## anaconda package
|
2022-10-18 20:09:28 +00:00
|
|
|
installpkg anaconda anaconda-widgets kdump-anaconda-addon anaconda-install-img-deps
|
2018-09-07 19:03:55 +00:00
|
|
|
installpkg oscap-anaconda-addon
|
2022-03-08 20:02:55 +00:00
|
|
|
# Not available in ELN, must be uncommented for RHEL
|
|
|
|
#installpkg redhat-release-eula
|
2019-05-15 23:01:34 +00:00
|
|
|
|
2020-10-29 21:24:54 +00:00
|
|
|
## 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
|
|
|
|
|
2018-06-18 16:43:58 +00:00
|
|
|
## 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
|
2023-06-09 13:21:30 +00:00
|
|
|
## 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
|
2018-06-18 16:43:58 +00:00
|
|
|
installpkg --optional *-firmware --except alsa* --except midisport-firmware \
|
|
|
|
--except crystalhd-firmware --except ivtv-firmware \
|
|
|
|
--except cx18-firmware --except iscan-firmware \
|
2022-06-16 17:41:58 +00:00
|
|
|
--except uhd-firmware --except lulzbot-marlin-firmware \
|
2023-06-09 13:21:30 +00:00
|
|
|
--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
|
2018-06-18 16:43:58 +00:00
|
|
|
%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":
|
2023-06-09 13:21:30 +00:00
|
|
|
installpkg efibootmgr
|
|
|
|
installpkg grub2-efi-aa64-cdboot>=${GRUB2VER}
|
|
|
|
installpkg grub2-tools>=${GRUB2VER}
|
|
|
|
installpkg shim-aa64
|
2018-06-18 16:43:58 +00:00
|
|
|
%endif
|
|
|
|
%if basearch == "x86_64":
|
2023-06-09 13:21:30 +00:00
|
|
|
installpkg grub2-tools-efi>=${GRUB2VER}
|
2018-06-18 16:43:58 +00:00
|
|
|
installpkg efibootmgr
|
2023-06-09 13:21:30 +00:00
|
|
|
installpkg shim-x64
|
|
|
|
installpkg grub2-efi-x64-cdboot>=${GRUB2VER}
|
|
|
|
installpkg shim-ia32
|
|
|
|
installpkg grub2-efi-ia32-cdboot>=${GRUB2VER}
|
|
|
|
installpkg biosdevname
|
|
|
|
installpkg grub2-tools>=${GRUB2VER} grub2-tools-minimal>=${GRUB2VER}
|
|
|
|
installpkg grub2-tools-extra>=${GRUB2VER}
|
|
|
|
installpkg grub2-pc-modules>=${GRUB2VER}
|
2018-06-18 16:43:58 +00:00
|
|
|
%endif
|
2023-06-09 13:21:30 +00:00
|
|
|
%if basearch == "ppc64le":
|
2018-08-20 13:52:48 +00:00
|
|
|
installpkg powerpc-utils lsvpd ppc64-diag
|
2023-06-09 13:21:30 +00:00
|
|
|
installpkg grub2-tools>=${GRUB2VER} grub2-tools-minimal>=${GRUB2VER}
|
|
|
|
installpkg grub2-tools-extra>=${GRUB2VER} grub2-${basearch}>=${GRUB2VER}
|
2018-06-18 16:43:58 +00:00
|
|
|
%endif
|
|
|
|
%if basearch == "s390x":
|
2023-06-09 13:21:30 +00:00
|
|
|
installpkg lsscsi s390utils-base s390utils-cmsfs-fuse s390utils-hmcdrvfs
|
2018-06-18 16:43:58 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
## yay, plymouth
|
|
|
|
installpkg plymouth
|
|
|
|
|
|
|
|
## extra dracut modules
|
2018-06-21 17:14:05 +00:00
|
|
|
installpkg anaconda-dracut dracut-network dracut-config-generic
|
2018-06-18 16:43:58 +00:00
|
|
|
|
2018-08-20 15:30:54 +00:00
|
|
|
## import-state.service for switchroot
|
|
|
|
installpkg initscripts
|
|
|
|
|
2018-06-18 16:43:58 +00:00
|
|
|
## 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
|
|
|
|
|
|
|
|
## basic system stuff
|
2023-06-09 13:21:30 +00:00
|
|
|
installpkg systemd-sysv systemd-units
|
2018-06-18 16:43:58 +00:00
|
|
|
installpkg rsyslog
|
|
|
|
|
|
|
|
## filesystem tools
|
2023-06-09 19:09:45 +00:00
|
|
|
installpkg btrfs-progs xfsprogs ntfs-3g ntfsprogs
|
2018-06-18 16:43:58 +00:00
|
|
|
installpkg device-mapper-persistent-data
|
|
|
|
installpkg xfsdump
|
|
|
|
|
|
|
|
## extra storage packages
|
2023-06-09 13:21:30 +00:00
|
|
|
# hostname is needed for iscsi to work, see RHBZ#1593917
|
2018-07-09 17:09:56 +00:00
|
|
|
installpkg udisks2 udisks2-iscsi hostname
|
2018-06-18 16:43:58 +00:00
|
|
|
|
|
|
|
## extra libblockdev plugins
|
|
|
|
installpkg libblockdev-lvm-dbus
|
|
|
|
|
|
|
|
## needed for LUKS escrow
|
|
|
|
installpkg volume_key
|
|
|
|
installpkg nss-tools
|
|
|
|
|
2023-06-09 13:21:30 +00:00
|
|
|
## blivet-gui-runtime requires PolicyKit-authentication-agent, if we
|
|
|
|
## don't tell dnf what to pick it picks lxpolkit, which drags in gtk2
|
|
|
|
installpkg polkit-gnome
|
|
|
|
|
2018-06-18 16:43:58 +00:00
|
|
|
## SELinux support
|
|
|
|
installpkg selinux-policy-targeted audit
|
|
|
|
|
|
|
|
## network tools/servers
|
|
|
|
installpkg ethtool openssh-server nfs-utils openssh-clients
|
|
|
|
installpkg tigervnc-server-minimal
|
|
|
|
installpkg tigervnc-server-module
|
|
|
|
installpkg net-tools
|
2021-05-10 22:31:03 +00:00
|
|
|
installpkg ipcalc
|
2023-06-09 13:21:30 +00:00
|
|
|
installpkg nmap-ncat
|
2018-06-18 16:43:58 +00:00
|
|
|
|
|
|
|
## hardware utilities/libraries
|
|
|
|
installpkg pciutils usbutils ipmitool
|
|
|
|
installpkg mt-st smartmontools
|
|
|
|
installpkg hdparm
|
2023-06-09 13:21:30 +00:00
|
|
|
%if basearch not in ("aarch64", "ppc64le", "s390x"):
|
|
|
|
installpkg pcmciautils
|
|
|
|
%endif
|
|
|
|
installpkg libmlx4 rdma-core
|
|
|
|
installpkg rng-tools
|
2022-10-18 20:04:26 +00:00
|
|
|
%if basearch in ("x86_64", "aarch64"):
|
2019-11-11 18:46:53 +00:00
|
|
|
installpkg dmidecode
|
|
|
|
%endif
|
2021-10-04 22:14:26 +00:00
|
|
|
installpkg nvme-cli
|
2018-06-18 16:43:58 +00:00
|
|
|
|
2023-06-09 13:21:30 +00:00
|
|
|
|
2018-06-18 16:43:58 +00:00
|
|
|
## fonts & themes
|
2023-06-09 13:21:30 +00:00
|
|
|
installpkg abattis-cantarell-vf-fonts
|
|
|
|
installpkg google-noto-sans-vf-fonts google-noto-sans-mono-vf-fonts
|
|
|
|
installpkg google-noto-sans-arabic-vf-fonts
|
|
|
|
installpkg google-noto-sans-cjk-fonts
|
|
|
|
installpkg google-noto-sans-ethiopic-vf-fonts google-noto-sans-georgian-vf-fonts
|
|
|
|
installpkg google-noto-sans-gurmukhi-vf-fonts google-noto-sans-hebrew-vf-fonts
|
|
|
|
installpkg google-noto-sans-khmer-vf-fonts
|
|
|
|
installpkg google-noto-sans-sinhala-vf-fonts google-noto-sans-thai-vf-fonts
|
2020-02-07 09:08:46 +00:00
|
|
|
installpkg jomolhari-fonts
|
2018-06-18 16:43:58 +00:00
|
|
|
installpkg lohit-assamese-fonts
|
|
|
|
installpkg lohit-bengali-fonts
|
|
|
|
installpkg lohit-devanagari-fonts
|
2018-07-26 16:22:48 +00:00
|
|
|
installpkg lohit-gujarati-fonts
|
2018-06-18 16:43:58 +00:00
|
|
|
installpkg lohit-kannada-fonts
|
2020-02-07 09:08:46 +00:00
|
|
|
installpkg lohit-marathi-fonts
|
2018-06-18 16:43:58 +00:00
|
|
|
installpkg lohit-odia-fonts
|
|
|
|
installpkg lohit-tamil-fonts
|
|
|
|
installpkg lohit-telugu-fonts
|
2020-02-07 09:08:46 +00:00
|
|
|
installpkg paktype-naskh-basic-fonts
|
|
|
|
installpkg sil-padauk-fonts
|
2022-02-07 15:59:54 +00:00
|
|
|
installpkg rit-meera-new-fonts
|
2023-06-09 13:21:30 +00:00
|
|
|
installpkg vazirmatn-vf-fonts
|
2018-06-18 16:43:58 +00:00
|
|
|
|
|
|
|
## debugging/bug reporting tools
|
|
|
|
installpkg gdb-gdbserver
|
|
|
|
installpkg libreport-plugin-bugzilla libreport-plugin-reportuploader
|
2022-03-08 20:02:55 +00:00
|
|
|
# Not available in ELN, must be enabled in RHEL
|
|
|
|
#installpkg libreport-rhel-anaconda-bugzilla
|
2023-06-09 13:21:30 +00:00
|
|
|
installpkg fpaste
|
2018-09-18 23:52:49 +00:00
|
|
|
installpkg python3-pyatspi
|
2018-06-18 16:43:58 +00:00
|
|
|
|
|
|
|
## extra tools not required by anaconda
|
2023-06-09 20:48:56 +00:00
|
|
|
installpkg nano
|
|
|
|
installpkg vim-minimal strace lsof xz less
|
2023-06-09 13:21:30 +00:00
|
|
|
installpkg wget rsync bind-utils ftp mtr vconfig
|
|
|
|
installpkg spice-vdagent
|
2018-06-18 16:43:58 +00:00
|
|
|
installpkg gdisk hexedit sg3_utils
|
2018-06-20 19:50:25 +00:00
|
|
|
installpkg perl-interpreter
|
2021-03-04 19:16:51 +00:00
|
|
|
installpkg restore
|
2018-06-18 16:43:58 +00:00
|
|
|
|
|
|
|
## actually install all the requested packages
|
|
|
|
run_pkg_transaction
|