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
|
2014-07-11 16:42:19 +00:00
|
|
|
installpkg kexec-tools-anaconda-addon
|
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":
|
2014-10-03 20:44:54 +00:00
|
|
|
installpkg efibootmgr grub2-efi grubby shim shim-unsigned
|
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
|
2011-07-20 20:48:39 +00:00
|
|
|
%if basearch in ("i386", "x86_64"):
|
2013-03-18 14:07:23 +00:00
|
|
|
installpkg grub2 grub2-tools biosdevname memtest86+ syslinux
|
|
|
|
installpkg efibootmgr grub2-efi shim shim-unsigned
|
2011-05-05 22:24:58 +00:00
|
|
|
%endif
|
2014-09-02 17:58:48 +00:00
|
|
|
%if basearch in ("ppc", "ppc64", "ppc64le"):
|
2013-09-09 17:24:13 +00:00
|
|
|
installpkg grub2 grub2-tools fbset hfsutils kernel-bootwrapper ppc64-utils
|
2011-05-05 22:24:58 +00:00
|
|
|
%endif
|
|
|
|
%if basearch == "s390x":
|
2013-04-18 13:20:44 +00:00
|
|
|
installpkg lsscsi s390utils-base s390utils-cmsfs-fuse
|
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
|
2013-07-30 12:47:16 +00:00
|
|
|
installpkg anaconda-dracut dracut-network dracut-config-generic
|
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
|
|
|
|
|
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
|
2014-02-17 18:04:05 +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
|
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
|
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
|
2014-02-17 18:04:05 +00:00
|
|
|
installpkg fedora-gnome-theme
|
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
|
|
|
|
|
2011-05-05 22:24:58 +00:00
|
|
|
## actually install all the requested packages
|
|
|
|
run_pkg_transaction
|