lorax/share/templates.d/99-generic/runtime-install.tmpl

193 lines
6.1 KiB
Cheetah
Raw Normal View History

## lorax template file: populate the ramdisk (runtime image)
2011-05-26 17:05:33 +00:00
<%page args="basearch, product"/>
<%
# This version of grub2 moves the font directory and is needed to keep the efi template from failing.
GRUB2VER="1:2.06-3"
%>
## anaconda package
installpkg anaconda anaconda-widgets kexec-tools-anaconda-addon anaconda-install-img-deps
## 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
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
2012-05-03 07:11:03 +00:00
installpkg b43-openfwwf
%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 shim-aa64
installpkg uboot-tools
%endif
%if basearch in ("arm", "armhfp"):
installpkg efibootmgr
installpkg grub2-efi-arm-cdboot>=${GRUB2VER}
installpkg grubby-deprecated
installpkg kernel-lpae
installpkg uboot-tools
%endif
%if basearch == "i386":
installpkg gpart
%endif
%if basearch == "x86_64":
installpkg grub2-tools-efi>=${GRUB2VER}
installpkg efibootmgr
installpkg shim-x64
installpkg grub2-efi-x64-cdboot>=${GRUB2VER}
installpkg shim-ia32
installpkg grub2-efi-ia32-cdboot>=${GRUB2VER}
%endif
2011-07-20 20:48:39 +00:00
%if basearch in ("i386", "x86_64"):
installpkg biosdevname syslinux
installpkg grub2-tools>=${GRUB2VER} grub2-tools-minimal>=${GRUB2VER}
installpkg grub2-tools-extra>=${GRUB2VER}
%endif
%if basearch == "ppc64le":
2019-01-02 09:16:17 +00:00
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
2012-01-04 01:24:41 +00:00
## required for dracut
installpkg kbd kbd-misc
## required for anaconda-dracut (img-lib etc.)
installpkg tar xz curl bzip2
2012-01-04 01:24:41 +00:00
## basic system stuff
installpkg systemd-sysv systemd-units
installpkg rsyslog
## filesystem tools
installpkg btrfs-progs jfsutils xfsprogs ntfs-3g ntfsprogs
installpkg system-storage-manager
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
## 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
## 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
installpkg bridge-utils
installpkg nmap-ncat
## hardware utilities/libraries
installpkg pciutils usbutils ipmitool
2013-01-25 21:01:44 +00:00
installpkg mt-st smartmontools
installpkg hdparm
%if basearch not in ("aarch64", "ppc64le", "s390x"):
installpkg pcmciautils
2013-01-25 21:01:44 +00:00
%endif
## see bug #1483278
%if basearch not in ("arm", "armhfp"):
installpkg libmlx4 rdma-core
%endif
installpkg rng-tools
%if basearch in ("i386", "x86_64", "aarch64"):
installpkg dmidecode
%endif
## fonts & themes
installpkg abattis-cantarell-vf-fonts
installpkg bitmap-fangsongti-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-ttc-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-sinhala-vf-fonts
installpkg jomolhari-fonts
installpkg khmer-os-system-fonts
installpkg lohit-assamese-fonts
installpkg lohit-bengali-fonts
installpkg lohit-devanagari-fonts
installpkg lohit-gujarati-fonts
installpkg lohit-kannada-fonts
installpkg lohit-marathi-fonts
installpkg lohit-odia-fonts
installpkg lohit-tamil-fonts
2014-07-10 18:32:42 +00:00
installpkg lohit-telugu-fonts
installpkg paktype-naskh-basic-fonts
installpkg sil-padauk-fonts
installpkg rit-meera-new-fonts
installpkg thai-scalable-waree-fonts
## debugging/bug reporting tools
installpkg gdb-gdbserver
installpkg libreport-plugin-bugzilla libreport-plugin-reportuploader
2011-09-22 19:00:36 +00:00
installpkg fpaste
installpkg python3-pyatspi
## extra tools not required by anaconda
installpkg nano nano-default-editor
installpkg vim-minimal strace lsof dump xz less
installpkg wget rsync bind-utils ftp mtr vconfig
installpkg spice-vdagent
installpkg gdisk hexedit sg3_utils
## actually install all the requested packages
run_pkg_transaction