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
|
2012-01-18 18:16:15 +00:00
|
|
|
installpkg anaconda anaconda-widgets
|
2015-02-10 09:53:02 +00:00
|
|
|
|
2011-08-30 15:18:46 +00:00
|
|
|
## anaconda deps that aren't in the RPM
|
2012-04-17 19:52:35 +00:00
|
|
|
installpkg tmux
|
2011-08-30 15:18:46 +00:00
|
|
|
installpkg firstboot
|
2012-03-28 04:16:36 +00:00
|
|
|
installpkg iscsi-initiator-utils
|
2011-08-03 20:56:47 +00:00
|
|
|
|
2014-07-25 08:31:50 +00:00
|
|
|
## Other available payloads
|
|
|
|
installpkg rpm-ostree
|
|
|
|
|
2011-05-05 22:24:58 +00:00
|
|
|
## kernel and firmware
|
|
|
|
installpkg kernel
|
|
|
|
%if basearch != "s390x":
|
|
|
|
installpkg *-firmware
|
|
|
|
%endif
|
|
|
|
|
2011-08-03 20:56:47 +00:00
|
|
|
## arch-specific packages (bootloaders etc.)
|
2013-12-12 22:15:13 +00:00
|
|
|
%if basearch == "aarch64":
|
2015-04-13 17:30:24 +00:00
|
|
|
installpkg efibootmgr grub2-efi-aa64-cdboot grubby shim-aa64
|
2017-12-05 16:33:22 +00:00
|
|
|
installpkg grub2-tools grub2-tools-minimal grub2-tools-extra
|
2013-12-12 22:15:13 +00:00
|
|
|
%endif
|
2012-06-21 07:31:58 +00:00
|
|
|
%if basearch in ("arm", "armhfp"):
|
2013-04-16 17:06:04 +00:00
|
|
|
installpkg kernel-lpae kernel-tegra
|
2012-06-21 07:31:58 +00:00
|
|
|
installpkg uboot-tools
|
|
|
|
%endif
|
2011-05-05 22:24:58 +00:00
|
|
|
%if basearch == "i386":
|
2011-08-03 20:56:47 +00:00
|
|
|
installpkg kernel-PAE gpart
|
2011-05-05 22:24:58 +00:00
|
|
|
%endif
|
2015-04-13 17:30:24 +00:00
|
|
|
%if basearch == "x86_64":
|
|
|
|
installpkg grub2-tools-efi
|
|
|
|
installpkg shim-x64 grub2-efi-x64-cdboot
|
|
|
|
%endif
|
2011-07-20 20:48:39 +00:00
|
|
|
%if basearch in ("i386", "x86_64"):
|
2015-04-13 17:30:24 +00:00
|
|
|
installpkg biosdevname memtest86+ syslinux
|
2017-10-13 16:00:31 +00:00
|
|
|
installpkg grub2-tools grub2-tools-minimal grub2-tools-extra
|
2015-04-13 17:30:24 +00:00
|
|
|
installpkg efibootmgr
|
|
|
|
installpkg shim-ia32 grub2-efi-ia32-cdboot
|
2011-05-05 22:24:58 +00:00
|
|
|
%endif
|
2014-09-02 17:58:48 +00:00
|
|
|
%if basearch in ("ppc", "ppc64", "ppc64le"):
|
2015-04-13 17:30:24 +00:00
|
|
|
installpkg fbset hfsutils kernel-bootwrapper ppc64-utils
|
|
|
|
installpkg grub2-tools grub2-tools-minimal grub2-tools-extra
|
|
|
|
installpkg grub2-${basearch}
|
2011-05-05 22:24:58 +00:00
|
|
|
%endif
|
2015-04-13 17:30:24 +00:00
|
|
|
|
2011-05-05 22:24:58 +00:00
|
|
|
%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
|
2016-08-29 15:46:06 +00:00
|
|
|
installpkg anaconda-dracut dracut-network dracut-config-generic dracut-fips
|
2011-08-09 01:13:07 +00:00
|
|
|
|
2013-11-13 18:03:28 +00:00
|
|
|
## redhat-upgrade-dracut handles upgrades on RHEL
|
|
|
|
installpkg redhat-upgrade-dracut redhat-upgrade-dracut-plymouth
|
|
|
|
log "Looking for extra redhat-upgrade-dracut packages..."
|
|
|
|
-installpkg *-redhat-upgrade-dracut
|
2019-06-18 18:33:05 +00:00
|
|
|
installpkg redhat-release-eula
|
2013-11-13 18:03:28 +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.)
|
2012-06-17 19:09:43 +00:00
|
|
|
installpkg tar xz curl
|
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
|
|
|
|
|
|
|
|
## xorg/GUI packages
|
2013-01-25 21:01:42 +00:00
|
|
|
%if basearch != "s390x":
|
2011-08-30 00:26:54 +00:00
|
|
|
installpkg xorg-x11-drivers xorg-x11-server-Xorg
|
2013-01-25 21:01:42 +00:00
|
|
|
%endif
|
2011-08-30 00:26:54 +00:00
|
|
|
installpkg xorg-x11-server-utils xorg-x11-xauth
|
2012-02-15 01:22:27 +00:00
|
|
|
installpkg dbus-x11 metacity gsettings-desktop-schemas
|
2012-08-20 08:22:47 +00:00
|
|
|
installpkg nm-connection-editor
|
2011-08-03 20:56:47 +00:00
|
|
|
installpkg at-spi at-spi2-atk pyatspi
|
2011-05-05 22:24:58 +00:00
|
|
|
installpkg gnome-python2-gconf
|
|
|
|
installpkg gobject-introspection
|
2012-01-18 18:16:15 +00:00
|
|
|
installpkg librsvg2
|
2011-08-03 20:56:47 +00:00
|
|
|
installpkg polkit-desktop-policy
|
|
|
|
installpkg gnome-keyring
|
|
|
|
installpkg python-imaging
|
|
|
|
|
|
|
|
## filesystem tools
|
2017-02-03 13:59:35 +00:00
|
|
|
installpkg btrfs-progs xfsprogs gfs2-utils
|
2011-08-03 20:56:47 +00:00
|
|
|
installpkg python-volume_key volume_key
|
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
|
|
|
|
|
|
|
## SELinux support
|
|
|
|
installpkg selinux-policy-targeted audit libsemanage-python
|
|
|
|
|
|
|
|
## network tools/servers
|
|
|
|
installpkg python-ethtool ethtool openssh-server nfs-utils
|
2013-01-25 21:01:45 +00:00
|
|
|
installpkg tigervnc-server-minimal
|
|
|
|
%if basearch != "s390x":
|
|
|
|
installpkg tigervnc-server-module
|
|
|
|
%endif
|
2013-03-14 16:00:14 +00:00
|
|
|
installpkg net-tools
|
2015-02-06 18:19:45 +00:00
|
|
|
installpkg bridge-utils
|
2017-02-03 13:59:35 +00:00
|
|
|
installpkg nmap-ncat
|
2011-08-03 20:56:47 +00:00
|
|
|
|
2015-06-12 11:54:16 +00:00
|
|
|
## ntp packages
|
|
|
|
installpkg ntp
|
|
|
|
|
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
|
|
|
|
%if basearch != "s390x":
|
2014-02-17 18:04:05 +00:00
|
|
|
installpkg hdparm
|
2013-01-25 21:01:44 +00:00
|
|
|
%endif
|
2014-04-21 19:24:16 +00:00
|
|
|
installpkg libmlx4 rdma
|
2016-01-28 22:52:10 +00:00
|
|
|
installpkg rng-tools
|
2011-08-03 20:56:47 +00:00
|
|
|
|
|
|
|
## translations & language packs
|
2013-01-25 21:01:43 +00:00
|
|
|
installpkg yum-langpacks
|
2011-08-03 20:56:47 +00:00
|
|
|
|
|
|
|
## fonts & themes
|
|
|
|
installpkg bitmap-fangsongti-fonts
|
|
|
|
installpkg dejavu-sans-fonts dejavu-sans-mono-fonts
|
2011-05-05 22:24:58 +00:00
|
|
|
installpkg kacst-farsi-fonts
|
|
|
|
installpkg kacst-qurn-fonts
|
|
|
|
installpkg lklug-fonts
|
2011-08-03 20:56:47 +00:00
|
|
|
installpkg lohit-*-fonts
|
2011-05-05 22:24:58 +00:00
|
|
|
installpkg madan-fonts
|
2012-02-17 10:13:13 +00:00
|
|
|
installpkg nhn-nanum-gothic-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
|
2011-05-05 22:24:58 +00:00
|
|
|
installpkg vlgothic-fonts
|
2011-08-03 20:56:47 +00:00
|
|
|
installpkg wqy-microhei-fonts
|
2013-06-11 17:26:51 +00:00
|
|
|
installpkg sil-abyssinica-fonts
|
|
|
|
installpkg xorg-x11-fonts-misc
|
2011-08-03 20:56:47 +00:00
|
|
|
installpkg gnome-themes-standard gnome-icon-theme-legacy
|
|
|
|
|
|
|
|
## branding & logos
|
2018-01-23 16:34:27 +00:00
|
|
|
installpkg gnome-themes-standard
|
2011-05-05 22:24:58 +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-08-03 20:56:47 +00:00
|
|
|
|
|
|
|
## extra tools not required by anaconda
|
2011-08-03 22:15:29 +00:00
|
|
|
installpkg vim-minimal strace lsof dump xz less eject
|
2014-02-17 18:04:05 +00:00
|
|
|
installpkg wget rsync rsh bind-utils ftp mtr
|
|
|
|
installpkg spice-vdagent
|
2014-09-04 00:43:01 +00:00
|
|
|
installpkg gdisk hexedit sg3_utils
|
2011-08-03 20:56:47 +00:00
|
|
|
|
2012-08-22 16:45:16 +00:00
|
|
|
## yum plugins
|
2013-07-26 23:35:23 +00:00
|
|
|
installpkg yum-langpacks
|
2012-08-22 16:45:16 +00:00
|
|
|
|
2013-11-04 17:54:48 +00:00
|
|
|
## RHEL packages
|
|
|
|
installpkg subscription-manager
|
|
|
|
|
2015-02-10 09:53:02 +00:00
|
|
|
## addons
|
|
|
|
installpkg kexec-tools-anaconda-addon
|
|
|
|
installpkg oscap-anaconda-addon
|
|
|
|
|
2011-05-05 22:24:58 +00:00
|
|
|
## actually install all the requested packages
|
|
|
|
run_pkg_transaction
|