2011-05-05 22:24:58 +00:00
|
|
|
## lorax template file: populate the ramdisk (runtime image)
|
2011-05-26 17:05:33 +00:00
|
|
|
<%page args="basearch, product"/>
|
2011-05-05 22:24:58 +00:00
|
|
|
|
|
|
|
## anaconda package
|
2021-01-29 14:09:17 +00:00
|
|
|
installpkg anaconda anaconda-widgets kexec-tools-anaconda-addon anaconda-install-img-deps
|
2014-05-12 15:28:52 +00:00
|
|
|
## Other available payloads
|
|
|
|
installpkg dnf
|
2017-02-27 17:06:51 +00:00
|
|
|
installpkg rpm-ostree ostree
|
2012-06-17 19:16:05 +00:00
|
|
|
## speed up compression on multicore systems
|
|
|
|
installpkg pigz
|
2011-05-05 22:24:58 +00:00
|
|
|
|
|
|
|
## kernel and firmware
|
2015-06-22 23:23:29 +00:00
|
|
|
## 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
|
2013-09-03 16:24:28 +00:00
|
|
|
installpkg grubby
|
2011-05-05 22:24:58 +00:00
|
|
|
%if basearch != "s390x":
|
2016-03-16 15:32:20 +00:00
|
|
|
## 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.
|
2016-07-11 02:17:24 +00:00
|
|
|
installpkg --optional *-firmware --except alsa* --except midisport-firmware \
|
|
|
|
--except crystalhd-firmware --except ivtv-firmware \
|
2016-11-14 18:12:26 +00:00
|
|
|
--except cx18-firmware --except iscan-firmware \
|
2020-09-04 23:21:49 +00:00
|
|
|
--except uhd-firmware --except lulzbot-marlin-firmware \
|
|
|
|
--except gnome-firmware --except sigrok-firmware
|
2012-05-03 07:11:03 +00:00
|
|
|
installpkg b43-openfwwf
|
2011-05-05 22:24:58 +00:00
|
|
|
%endif
|
|
|
|
|
2016-02-26 22:54:57 +00:00
|
|
|
## install all of the glibc langpacks since otherwise we get no locales
|
|
|
|
installpkg glibc-all-langpacks
|
|
|
|
|
2011-08-03 20:56:47 +00:00
|
|
|
## arch-specific packages (bootloaders etc.)
|
2013-12-12 22:15:13 +00:00
|
|
|
%if basearch == "aarch64":
|
2018-08-16 19:39:28 +00:00
|
|
|
installpkg efibootmgr
|
|
|
|
installpkg grub2-efi-aa64-cdboot shim-aa64
|
2018-08-28 08:33:59 +00:00
|
|
|
installpkg uboot-tools
|
2013-12-12 22:15:13 +00:00
|
|
|
%endif
|
2012-06-21 07:31:58 +00:00
|
|
|
%if basearch in ("arm", "armhfp"):
|
2018-08-16 19:39:28 +00:00
|
|
|
installpkg efibootmgr
|
|
|
|
installpkg grub2-efi-arm-cdboot
|
2018-11-17 16:32:15 +00:00
|
|
|
installpkg grubby-deprecated
|
2013-10-07 20:23:35 +00:00
|
|
|
installpkg kernel-lpae
|
2018-08-28 08:33:59 +00:00
|
|
|
installpkg uboot-tools
|
2012-06-21 07:31:58 +00:00
|
|
|
%endif
|
2011-05-05 22:24:58 +00:00
|
|
|
%if basearch == "i386":
|
2017-12-22 23:52:20 +00:00
|
|
|
installpkg gpart
|
2011-05-05 22:24:58 +00:00
|
|
|
%endif
|
2013-08-01 14:17:48 +00:00
|
|
|
%if basearch == "x86_64":
|
2017-08-22 15:16:39 +00:00
|
|
|
installpkg grub2-tools-efi
|
2017-08-24 18:58:48 +00:00
|
|
|
installpkg efibootmgr
|
2017-08-22 15:16:39 +00:00
|
|
|
installpkg shim-x64 grub2-efi-x64-cdboot
|
2017-08-24 18:58:48 +00:00
|
|
|
installpkg shim-ia32 grub2-efi-ia32-cdboot
|
2013-08-01 14:17:48 +00:00
|
|
|
%endif
|
2011-07-20 20:48:39 +00:00
|
|
|
%if basearch in ("i386", "x86_64"):
|
2018-02-23 18:16:48 +00:00
|
|
|
installpkg biosdevname memtest86+ syslinux
|
2017-09-15 18:42:57 +00:00
|
|
|
installpkg grub2-tools grub2-tools-minimal grub2-tools-extra
|
2011-05-05 22:24:58 +00:00
|
|
|
%endif
|
2020-09-14 20:56:36 +00:00
|
|
|
%if basearch == "ppc64le":
|
2019-01-02 09:16:17 +00:00
|
|
|
installpkg powerpc-utils lsvpd ppc64-diag
|
2017-08-22 15:16:39 +00:00
|
|
|
installpkg grub2-tools grub2-tools-minimal grub2-tools-extra
|
|
|
|
installpkg grub2-${basearch}
|
2011-05-05 22:24:58 +00:00
|
|
|
%endif
|
|
|
|
%if basearch == "s390x":
|
2017-04-11 13:47:57 +00:00
|
|
|
installpkg lsscsi s390utils-base s390utils-cmsfs-fuse s390utils-hmcdrvfs
|
2011-05-05 22:24:58 +00:00
|
|
|
%endif
|
|
|
|
|
2012-06-19 22:12:55 +00:00
|
|
|
## yay, plymouth
|
|
|
|
installpkg plymouth
|
|
|
|
|
2011-08-09 01:13:07 +00:00
|
|
|
## extra dracut modules
|
2019-01-18 16:24:25 +00:00
|
|
|
installpkg anaconda-dracut dracut-network dracut-config-generic
|
2011-08-09 01:13:07 +00:00
|
|
|
|
2018-08-13 12:27:23 +00:00
|
|
|
## import-state.service for switchroot
|
|
|
|
installpkg initscripts
|
|
|
|
|
2015-08-19 21:30:59 +00:00
|
|
|
## rescue needs this
|
2015-04-02 18:52:00 +00:00
|
|
|
installpkg cryptsetup
|
2012-11-13 06:33:16 +00:00
|
|
|
|
2012-05-29 08:40:10 +00:00
|
|
|
## 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
|
2012-02-16 19:58:13 +00:00
|
|
|
## required for anaconda-dracut (img-lib etc.)
|
2014-03-24 15:05:14 +00:00
|
|
|
installpkg tar xz curl bzip2
|
2012-01-04 01:24:41 +00:00
|
|
|
|
2011-08-03 20:56:47 +00:00
|
|
|
## basic system stuff
|
|
|
|
installpkg systemd-sysv systemd-units
|
|
|
|
installpkg rsyslog
|
|
|
|
|
|
|
|
## filesystem tools
|
2021-06-23 16:15:26 +00:00
|
|
|
installpkg btrfs-progs jfsutils xfsprogs ntfs-3g ntfsprogs
|
2013-02-12 18:12:14 +00:00
|
|
|
installpkg system-storage-manager
|
2013-06-25 19:57:51 +00:00
|
|
|
installpkg device-mapper-persistent-data
|
2014-07-11 16:47:01 +00:00
|
|
|
installpkg xfsdump
|
2011-08-03 20:56:47 +00:00
|
|
|
|
2016-07-11 11:45:30 +00:00
|
|
|
## extra storage packages
|
2018-06-21 21:18:48 +00:00
|
|
|
# hostname is needed for iscsi to work, see RHBZ#1593917
|
|
|
|
installpkg udisks2 udisks2-iscsi hostname
|
2016-07-11 11:45:30 +00:00
|
|
|
|
2016-02-26 16:43:45 +00:00
|
|
|
## extra libblockdev plugins
|
|
|
|
installpkg libblockdev-lvm-dbus
|
|
|
|
|
2014-12-17 09:55:15 +00:00
|
|
|
## needed for LUKS escrow
|
Remove some stale entires from runtime-install
iscsi-initator-utils and gobject-introspection actually are required via
anaconda rpm deps, so they aren't needed in runtime-install.tmpl.
Nothing seems to actually use python-imaging (i.e., python-pillow).
The executables for polkit, gnome-keyring and python-ethtool are removed
in runtime-cleanup, so if anything needs the libraries in these
packages, they can be pulled in through rpm dependencies. Among them,
only polkit is required.
For LUKS escrow stuff, keep the packages that provide the command-line
executables (volume_key, nss-tools), and remove the libraries. The
python2 libraries are no longer needed by blivet, and libblockdev will
install the C libraries it needs.
Install the dnf langpacks plugin instead of the yum one.
python-epdb is less useful now that anaconda is Python 3.
2015-06-10 20:32:29 +00:00
|
|
|
installpkg volume_key
|
|
|
|
installpkg nss-tools
|
2014-12-17 09:55:15 +00:00
|
|
|
|
2020-09-05 00:07:44 +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
|
|
|
|
|
2011-08-03 20:56:47 +00:00
|
|
|
## SELinux support
|
Remove some stale entires from runtime-install
iscsi-initator-utils and gobject-introspection actually are required via
anaconda rpm deps, so they aren't needed in runtime-install.tmpl.
Nothing seems to actually use python-imaging (i.e., python-pillow).
The executables for polkit, gnome-keyring and python-ethtool are removed
in runtime-cleanup, so if anything needs the libraries in these
packages, they can be pulled in through rpm dependencies. Among them,
only polkit is required.
For LUKS escrow stuff, keep the packages that provide the command-line
executables (volume_key, nss-tools), and remove the libraries. The
python2 libraries are no longer needed by blivet, and libblockdev will
install the C libraries it needs.
Install the dnf langpacks plugin instead of the yum one.
python-epdb is less useful now that anaconda is Python 3.
2015-06-10 20:32:29 +00:00
|
|
|
installpkg selinux-policy-targeted audit
|
2011-08-03 20:56:47 +00:00
|
|
|
|
|
|
|
## network tools/servers
|
Remove some stale entires from runtime-install
iscsi-initator-utils and gobject-introspection actually are required via
anaconda rpm deps, so they aren't needed in runtime-install.tmpl.
Nothing seems to actually use python-imaging (i.e., python-pillow).
The executables for polkit, gnome-keyring and python-ethtool are removed
in runtime-cleanup, so if anything needs the libraries in these
packages, they can be pulled in through rpm dependencies. Among them,
only polkit is required.
For LUKS escrow stuff, keep the packages that provide the command-line
executables (volume_key, nss-tools), and remove the libraries. The
python2 libraries are no longer needed by blivet, and libblockdev will
install the C libraries it needs.
Install the dnf langpacks plugin instead of the yum one.
python-epdb is less useful now that anaconda is Python 3.
2015-06-10 20:32:29 +00:00
|
|
|
installpkg ethtool openssh-server nfs-utils openssh-clients
|
2013-01-25 21:01:45 +00:00
|
|
|
installpkg tigervnc-server-minimal
|
|
|
|
installpkg tigervnc-server-module
|
2013-03-14 16:00:14 +00:00
|
|
|
installpkg net-tools
|
2015-02-06 18:19:45 +00:00
|
|
|
installpkg bridge-utils
|
2017-02-06 09:25:21 +00:00
|
|
|
installpkg nmap-ncat
|
2011-08-03 20:56:47 +00:00
|
|
|
|
|
|
|
## hardware utilities/libraries
|
2014-08-12 18:28:26 +00:00
|
|
|
installpkg pciutils usbutils ipmitool
|
2013-01-25 21:01:44 +00:00
|
|
|
installpkg mt-st smartmontools
|
2016-07-18 03:12:42 +00:00
|
|
|
installpkg hdparm
|
2016-08-12 09:47:36 +00:00
|
|
|
%if basearch not in ("aarch64", "ppc64le", "s390x"):
|
2016-07-18 03:12:42 +00:00
|
|
|
installpkg pcmciautils
|
2013-01-25 21:01:44 +00:00
|
|
|
%endif
|
2017-08-22 20:23:37 +00:00
|
|
|
## see bug #1483278
|
|
|
|
%if basearch not in ("arm", "armhfp"):
|
|
|
|
installpkg libmlx4 rdma-core
|
|
|
|
%endif
|
2016-01-28 22:52:10 +00:00
|
|
|
installpkg rng-tools
|
2019-11-11 18:50:07 +00:00
|
|
|
%if basearch in ("i386", "x86_64", "aarch64"):
|
|
|
|
installpkg dmidecode
|
|
|
|
%endif
|
|
|
|
|
2011-08-03 20:56:47 +00:00
|
|
|
|
|
|
|
## fonts & themes
|
2020-02-07 09:08:46 +00:00
|
|
|
installpkg abattis-cantarell-fonts
|
2011-08-03 20:56:47 +00:00
|
|
|
installpkg bitmap-fangsongti-fonts
|
|
|
|
installpkg dejavu-sans-fonts dejavu-sans-mono-fonts
|
2020-02-07 09:08:46 +00:00
|
|
|
installpkg google-noto-sans-cjk-ttc-fonts
|
|
|
|
installpkg google-noto-sans-gurmukhi-fonts
|
|
|
|
installpkg google-noto-sans-sinhala-vf-fonts
|
|
|
|
installpkg jomolhari-fonts
|
2021-03-17 07:33:13 +00:00
|
|
|
installpkg khmer-os-system-fonts
|
2014-04-23 19:03:12 +00:00
|
|
|
installpkg lohit-assamese-fonts
|
|
|
|
installpkg lohit-bengali-fonts
|
|
|
|
installpkg lohit-devanagari-fonts
|
2020-02-07 09:08:46 +00:00
|
|
|
installpkg lohit-gujarati-fonts
|
2014-04-23 19:03:12 +00:00
|
|
|
installpkg lohit-kannada-fonts
|
2020-02-07 09:08:46 +00:00
|
|
|
installpkg lohit-marathi-fonts
|
2014-04-23 19:03:12 +00:00
|
|
|
installpkg lohit-odia-fonts
|
|
|
|
installpkg lohit-tamil-fonts
|
2014-07-10 18:32:42 +00:00
|
|
|
installpkg lohit-telugu-fonts
|
2020-02-07 09:08:46 +00:00
|
|
|
installpkg paktype-naskh-basic-fonts
|
|
|
|
installpkg sil-abyssinica-fonts
|
|
|
|
installpkg sil-padauk-fonts
|
|
|
|
installpkg sil-scheherazade-fonts
|
2011-05-05 22:24:58 +00:00
|
|
|
installpkg smc-meera-fonts
|
2012-11-30 09:56:32 +00:00
|
|
|
installpkg thai-scalable-waree-fonts
|
2013-06-11 17:26:51 +00:00
|
|
|
installpkg xorg-x11-fonts-misc
|
2011-08-03 20:56:47 +00:00
|
|
|
|
2011-08-29 18:06:14 +00:00
|
|
|
## debugging/bug reporting tools
|
2011-08-03 20:56:47 +00:00
|
|
|
installpkg gdb-gdbserver
|
2011-08-29 18:06:14 +00:00
|
|
|
installpkg libreport-plugin-bugzilla libreport-plugin-reportuploader
|
2011-09-22 19:00:36 +00:00
|
|
|
installpkg fpaste
|
2018-09-18 17:45:08 +00:00
|
|
|
installpkg python3-pyatspi
|
2011-08-03 20:56:47 +00:00
|
|
|
|
|
|
|
## extra tools not required by anaconda
|
2020-08-31 18:25:40 +00:00
|
|
|
installpkg nano nano-default-editor
|
2020-02-20 18:00:53 +00:00
|
|
|
installpkg vim-minimal strace lsof dump xz less
|
2017-01-13 12:42:00 +00:00
|
|
|
installpkg wget rsync bind-utils ftp mtr vconfig
|
2021-06-09 07:17:59 +00:00
|
|
|
installpkg spice-vdagent
|
2014-09-04 00:43:01 +00:00
|
|
|
installpkg gdisk hexedit sg3_utils
|
2011-08-03 20:56:47 +00:00
|
|
|
|
2011-05-05 22:24:58 +00:00
|
|
|
## actually install all the requested packages
|
|
|
|
run_pkg_transaction
|