runtime-install.tmpl 5.3 KB

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