runtime-install.tmpl 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. ## lorax template file: populate the ramdisk (runtime image)
  2. <%page args="basearch, product"/>
  3. ## anaconda package
  4. installpkg anaconda anaconda-widgets kexec-tools-anaconda-addon anaconda-install-img-deps
  5. #installpkg oscap-anaconda-addon
  6. installpkg oracle-logos oraclelinux-release
  7. ## FIXME Pull in device-mapper-multipath
  8. ## This *should* be pulled in by libblockdev-plugins-all and libblockdev-mpath but it is not
  9. installpkg device-mapper-multipath
  10. ## Other available payloads
  11. installpkg dnf
  12. #installpkg rpm-ostree ostree
  13. ## speed up compression on multicore systems
  14. installpkg pigz
  15. installpkg kernel kernel-modules kernel-modules-extra
  16. installpkg grubby
  17. %if basearch != "s390x":
  18. ## skip the firmware for sound, video, and scanners, none of which will
  19. ## do much good for the installer. Also skip uhd-firmware which is not
  20. ## even a kernel firmware package.
  21. installpkg --optional *-firmware --except alsa* --except midisport-firmware \
  22. --except crystalhd-firmware --except ivtv-firmware \
  23. --except cx18-firmware --except iscan-firmware \
  24. --except uhd-firmware --except lulzbot-marlin-firmware \
  25. --except iwl* --except libertas* --except netronome* \
  26. --except liquidio-firmware*
  27. %endif
  28. ## Install only the English langpack (saves ~200MB)
  29. installpkg glibc-langpack-en
  30. ## arch-specific packages (bootloaders etc.)
  31. %if basearch == "aarch64":
  32. installpkg efibootmgr grub2-efi-aa64-cdboot grubby shim-aa64
  33. %endif
  34. %if basearch == "x86_64":
  35. installpkg grub2-tools-efi
  36. installpkg efibootmgr
  37. installpkg shim-x64 grub2-efi-x64-cdboot
  38. %endif
  39. %if basearch in ("i386", "x86_64"):
  40. installpkg biosdevname memtest86+ syslinux
  41. installpkg grub2-tools grub2-tools-minimal grub2-tools-extra
  42. %endif
  43. %if basearch in ("ppc", "ppc64", "ppc64le"):
  44. installpkg powerpc-utils lsvpd ppc64-diag
  45. installpkg grub2-tools grub2-tools-minimal grub2-tools-extra
  46. # We only have ppc64le in RHEL8 26-Jul-2018
  47. installpkg grub2-ppc64le
  48. %endif
  49. %if basearch == "s390x":
  50. installpkg lsscsi s390utils-base s390utils-cmsfs-fuse
  51. installpkg s390utils-hmcdrvfs
  52. %endif
  53. ## yay, plymouth
  54. #installpkg plymouth
  55. ## extra dracut modules
  56. installpkg anaconda-dracut dracut-network dracut-config-generic
  57. ## import-state.service for switchroot
  58. installpkg initscripts
  59. ## rescue needs this
  60. installpkg cryptsetup
  61. ## rpcbind or portmap needed by dracut nfs module
  62. installpkg rpcbind
  63. ## required for dracut
  64. installpkg kbd kbd-misc
  65. ## required for anaconda-dracut (img-lib etc.)
  66. installpkg tar xz curl bzip2
  67. ## basic system stuff
  68. installpkg systemd
  69. installpkg rsyslog
  70. ## xorg/GUI packages
  71. #installpkg xorg-x11-drivers xorg-x11-server-Xorg
  72. #installpkg xorg-x11-server-utils xorg-x11-xauth
  73. #installpkg dbus-x11 gsettings-desktop-schemas
  74. #installpkg nm-connection-editor
  75. #installpkg librsvg2
  76. #installpkg gnome-kiosk
  77. ## filesystem tools
  78. installpkg xfsprogs
  79. installpkg device-mapper-persistent-data
  80. installpkg xfsdump
  81. installpkg libblockdev-plugins-all libblockdev
  82. ## extra storage packages
  83. # hostname is needed for iscsi to work, see RHBZ#1599183
  84. installpkg udisks2 udisks2-iscsi hostname
  85. ## extra libblockdev plugins
  86. installpkg libblockdev-lvm-dbus
  87. ## needed for LUKS escrow
  88. installpkg volume_key
  89. installpkg nss-tools
  90. ## SELinux support
  91. #installpkg selinux-policy-targeted audit
  92. ## network tools/servers
  93. installpkg ethtool openssh-server nfs-utils openssh-clients
  94. #installpkg tigervnc-server-minimal
  95. #installpkg tigervnc-server-module
  96. installpkg net-tools
  97. installpkg prefixdevname
  98. installpkg ipcalc
  99. ## hardware utilities/libraries
  100. #installpkg pciutils usbutils ipmitool
  101. installpkg pciutils usbutils
  102. installpkg mt-st smartmontools
  103. installpkg hdparm
  104. %if basearch not in ("arm", "armhfp"):
  105. installpkg libmlx4 rdma-core
  106. %endif
  107. %if basearch in ("i386", "x86_64", "aarch64"):
  108. installpkg dmidecode
  109. %endif
  110. installpkg nvme-cli
  111. ## fonts & themes
  112. #installpkg bitmap-fangsongti-fonts
  113. #installpkg dejavu-sans-fonts dejavu-sans-mono-fonts
  114. #installpkg kacst-farsi-fonts
  115. #installpkg kacst-qurn-fonts
  116. #installpkg lklug-fonts
  117. #installpkg lohit-assamese-fonts
  118. #installpkg lohit-bengali-fonts
  119. #installpkg lohit-devanagari-fonts
  120. #installpkg lohit-gujarati-fonts
  121. #installpkg lohit-gurmukhi-fonts
  122. #installpkg lohit-kannada-fonts
  123. #installpkg lohit-odia-fonts
  124. #installpkg lohit-tamil-fonts
  125. #installpkg lohit-telugu-fonts
  126. #installpkg madan-fonts
  127. #installpkg smc-meera-fonts
  128. #installpkg thai-scalable-waree-fonts
  129. #installpkg sil-abyssinica-fonts
  130. #installpkg xorg-x11-fonts-misc
  131. #installpkg aajohan-comfortaa-fonts
  132. #installpkg abattis-cantarell-fonts
  133. #installpkg sil-scheherazade-fonts
  134. #installpkg jomolhari-fonts
  135. #installpkg khmeros-base-fonts
  136. #installpkg sil-padauk-fonts
  137. #installpkg google-noto-sans-cjk-ttc-fonts
  138. ## debugging/bug reporting tools
  139. installpkg gdb-gdbserver
  140. installpkg libreport-plugin-reportuploader
  141. installpkg python3-pyatspi
  142. ## extra tools not required by anaconda
  143. installpkg vim-minimal strace lsof xz less
  144. installpkg rsync bind-utils ftp mtr wget
  145. installpkg gdisk hexedit sg3_utils
  146. installpkg perl-interpreter
  147. installpkg restore
  148. # TODO: spice-vdagent is supposed to be removed, but Anaconda still needs it.
  149. installpkg spice-vdagent
  150. ## actually install all the requested packages
  151. run_pkg_transaction