2018-06-18 16:43:58 +00:00
|
|
|
## lorax template file: populate the ramdisk (runtime image)
|
|
|
|
<%page args="basearch, product"/>
|
|
|
|
|
|
|
|
## anaconda package
|
2021-01-29 14:09:17 +00:00
|
|
|
installpkg anaconda anaconda-widgets kexec-tools-anaconda-addon anaconda-install-img-deps
|
2018-09-07 19:03:55 +00:00
|
|
|
installpkg oscap-anaconda-addon
|
2020-10-27 16:33:21 +00:00
|
|
|
# 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
|
|
|
|
## even a kernel firmware package.
|
|
|
|
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
|
|
|
|
%endif
|
|
|
|
|
|
|
|
## install all of the glibc langpacks since otherwise we get no locales
|
|
|
|
installpkg glibc-all-langpacks
|
|
|
|
|
2020-10-27 16:33:21 +00:00
|
|
|
|
2018-06-18 16:43:58 +00:00
|
|
|
## arch-specific packages (bootloaders etc.)
|
|
|
|
%if basearch == "aarch64":
|
|
|
|
installpkg efibootmgr grub2-efi-aa64-cdboot grubby shim-aa64
|
|
|
|
%endif
|
|
|
|
%if basearch == "x86_64":
|
|
|
|
installpkg grub2-tools-efi
|
|
|
|
installpkg efibootmgr
|
|
|
|
installpkg shim-x64 grub2-efi-x64-cdboot
|
2018-09-11 22:04:49 +00:00
|
|
|
installpkg shim-ia32 grub2-efi-ia32-cdboot
|
2018-06-18 16:43:58 +00:00
|
|
|
%endif
|
|
|
|
%if basearch in ("i386", "x86_64"):
|
|
|
|
installpkg biosdevname memtest86+ syslinux
|
|
|
|
installpkg grub2-tools grub2-tools-minimal grub2-tools-extra
|
|
|
|
%endif
|
|
|
|
%if basearch in ("ppc", "ppc64", "ppc64le"):
|
2018-08-20 13:52:48 +00:00
|
|
|
installpkg powerpc-utils lsvpd ppc64-diag
|
2018-06-18 16:43:58 +00:00
|
|
|
installpkg grub2-tools grub2-tools-minimal grub2-tools-extra
|
2018-07-26 16:22:48 +00:00
|
|
|
# We only have ppc64le in RHEL8 26-Jul-2018
|
|
|
|
installpkg grub2-ppc64le
|
2018-06-18 16:43:58 +00:00
|
|
|
%endif
|
|
|
|
%if basearch == "s390x":
|
2018-06-19 21:39:25 +00:00
|
|
|
installpkg lsscsi s390utils-base s390utils-cmsfs-fuse
|
2018-09-11 22:04:49 +00:00
|
|
|
installpkg 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
|
2018-07-26 16:22:48 +00:00
|
|
|
installpkg systemd
|
2018-06-18 16:43:58 +00:00
|
|
|
installpkg rsyslog
|
|
|
|
|
|
|
|
## xorg/GUI packages
|
2018-09-11 22:04:49 +00:00
|
|
|
%if basearch != "s390x":
|
|
|
|
installpkg xorg-x11-drivers xorg-x11-server-Xorg
|
|
|
|
%endif
|
2018-06-18 16:43:58 +00:00
|
|
|
installpkg xorg-x11-server-utils xorg-x11-xauth
|
|
|
|
installpkg dbus-x11 metacity gsettings-desktop-schemas
|
|
|
|
installpkg nm-connection-editor
|
|
|
|
installpkg librsvg2
|
|
|
|
|
|
|
|
## filesystem tools
|
2020-12-08 18:38:31 +00:00
|
|
|
installpkg xfsprogs gfs2-utils
|
2018-06-18 16:43:58 +00:00
|
|
|
installpkg device-mapper-persistent-data
|
|
|
|
installpkg xfsdump
|
2020-10-27 16:33:21 +00:00
|
|
|
installpkg libblockdev-plugins-all libblockdev
|
2018-06-18 16:43:58 +00:00
|
|
|
|
|
|
|
## extra storage packages
|
2018-07-09 17:09:56 +00:00
|
|
|
# hostname is needed for iscsi to work, see RHBZ#1599183
|
|
|
|
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
|
|
|
|
|
|
|
|
## SELinux support
|
|
|
|
installpkg selinux-policy-targeted audit
|
|
|
|
|
|
|
|
## network tools/servers
|
|
|
|
installpkg ethtool openssh-server nfs-utils openssh-clients
|
|
|
|
installpkg tigervnc-server-minimal
|
|
|
|
%if basearch != "s390x":
|
|
|
|
installpkg tigervnc-server-module
|
|
|
|
%endif
|
|
|
|
installpkg net-tools
|
2020-10-27 16:33:21 +00:00
|
|
|
# TODO: uncomment
|
|
|
|
# installpkg nmap-ncat
|
|
|
|
# installpkg prefixdevname
|
2018-06-18 16:43:58 +00:00
|
|
|
|
|
|
|
## hardware utilities/libraries
|
|
|
|
installpkg pciutils usbutils ipmitool
|
|
|
|
installpkg mt-st smartmontools
|
|
|
|
installpkg hdparm
|
2020-01-08 19:12:47 +00:00
|
|
|
%if basearch not in ("arm", "armhfp"):
|
|
|
|
installpkg libmlx4 rdma-core
|
|
|
|
%endif
|
2018-06-18 16:43:58 +00:00
|
|
|
installpkg rng-tools
|
2019-11-11 18:46:53 +00:00
|
|
|
%if basearch in ("i386", "x86_64", "aarch64"):
|
|
|
|
installpkg dmidecode
|
|
|
|
%endif
|
2018-06-18 16:43:58 +00:00
|
|
|
|
|
|
|
## fonts & themes
|
|
|
|
installpkg bitmap-fangsongti-fonts
|
|
|
|
installpkg dejavu-sans-fonts dejavu-sans-mono-fonts
|
|
|
|
installpkg kacst-farsi-fonts
|
|
|
|
installpkg kacst-qurn-fonts
|
|
|
|
installpkg lklug-fonts
|
|
|
|
installpkg lohit-assamese-fonts
|
|
|
|
installpkg lohit-bengali-fonts
|
|
|
|
installpkg lohit-devanagari-fonts
|
2018-07-26 16:22:48 +00:00
|
|
|
installpkg lohit-gujarati-fonts
|
|
|
|
installpkg lohit-gurmukhi-fonts
|
2018-06-18 16:43:58 +00:00
|
|
|
installpkg lohit-kannada-fonts
|
|
|
|
installpkg lohit-odia-fonts
|
|
|
|
installpkg lohit-tamil-fonts
|
|
|
|
installpkg lohit-telugu-fonts
|
|
|
|
installpkg madan-fonts
|
|
|
|
installpkg smc-meera-fonts
|
|
|
|
installpkg thai-scalable-waree-fonts
|
|
|
|
installpkg sil-abyssinica-fonts
|
|
|
|
installpkg xorg-x11-fonts-misc
|
|
|
|
installpkg aajohan-comfortaa-fonts
|
|
|
|
installpkg abattis-cantarell-fonts
|
|
|
|
installpkg sil-scheherazade-fonts
|
|
|
|
installpkg jomolhari-fonts
|
|
|
|
installpkg khmeros-base-fonts
|
|
|
|
installpkg sil-padauk-fonts
|
2018-09-11 16:41:24 +00:00
|
|
|
installpkg google-noto-sans-cjk-ttc-fonts
|
2018-06-18 16:43:58 +00:00
|
|
|
|
|
|
|
## debugging/bug reporting tools
|
|
|
|
installpkg gdb-gdbserver
|
|
|
|
installpkg libreport-plugin-bugzilla libreport-plugin-reportuploader
|
2020-10-27 16:33:21 +00:00
|
|
|
# installpkg libreport-rhel-anaconda-bugzilla
|
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
|
2021-03-04 19:16:51 +00:00
|
|
|
installpkg vim-minimal strace lsof xz less
|
2018-06-20 02:42:47 +00:00
|
|
|
installpkg rsync bind-utils ftp mtr wget
|
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
|
|
|
|
2020-10-29 07:44:38 +00:00
|
|
|
# TODO: spice-vdagent is supposed to be removed, but Anaconda still needs it.
|
|
|
|
installpkg spice-vdagent
|
|
|
|
|
2018-06-18 16:43:58 +00:00
|
|
|
## actually install all the requested packages
|
|
|
|
run_pkg_transaction
|