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
|
2012-03-28 04:16:36 +00:00
|
|
|
installpkg iscsi-initiator-utils
|
2014-05-12 15:28:52 +00:00
|
|
|
## Other available payloads
|
|
|
|
installpkg dnf
|
|
|
|
installpkg rpm-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
|
|
|
|
installpkg kernel
|
2013-09-03 16:24:28 +00:00
|
|
|
installpkg grubby
|
2011-05-05 22:24:58 +00:00
|
|
|
%if basearch != "s390x":
|
|
|
|
installpkg *-firmware
|
2012-05-03 07:11:03 +00:00
|
|
|
installpkg b43-openfwwf
|
2011-05-05 22:24:58 +00:00
|
|
|
%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-10-07 20:23:35 +00:00
|
|
|
installpkg kernel-lpae
|
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
|
2013-08-01 14:17:48 +00:00
|
|
|
%if basearch == "x86_64":
|
|
|
|
installpkg efibootmgr grub2-efi shim shim-unsigned
|
|
|
|
%endif
|
2011-07-20 20:48:39 +00:00
|
|
|
%if basearch in ("i386", "x86_64"):
|
2014-06-30 16:22:47 +00:00
|
|
|
installpkg grub2 grub2-tools memtest86+ syslinux syslinux-nonlinux
|
2011-05-05 22:24:58 +00:00
|
|
|
%endif
|
2014-03-25 20:35:31 +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
|
|
|
|
2012-11-13 06:33:16 +00:00
|
|
|
## fedup-dracut handles upgrades
|
2013-03-18 14:37:44 +00:00
|
|
|
installpkg fedup-dracut fedup-dracut-plymouth
|
|
|
|
## install other fedup scripts, if there are any. It's OK if there aren't.
|
|
|
|
log "Looking for extra fedup-dracut packages..."
|
|
|
|
-installpkg *-fedup-dracut
|
2015-04-02 18:52:00 +00:00
|
|
|
## fedup and rescue need this
|
|
|
|
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
|
|
|
|
|
|
|
|
## 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-05-05 22:24:58 +00:00
|
|
|
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
|
2012-03-20 08:47:14 +00:00
|
|
|
installpkg btrfs-progs jfsutils xfsprogs reiserfs-utils gfs2-utils 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
|
|
|
|
2014-12-17 09:55:15 +00:00
|
|
|
## needed for LUKS escrow
|
|
|
|
installpkg python-volume_key volume_key
|
|
|
|
installpkg python-nss
|
|
|
|
|
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":
|
|
|
|
installpkg hdparm pcmciautils
|
|
|
|
%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
|
2014-04-23 19:03:12 +00:00
|
|
|
installpkg lohit-assamese-fonts
|
|
|
|
installpkg lohit-bengali-fonts
|
|
|
|
installpkg lohit-devanagari-fonts
|
|
|
|
installpkg lohit-gu*-fonts
|
|
|
|
installpkg lohit-kannada-fonts
|
|
|
|
installpkg lohit-odia-fonts
|
|
|
|
installpkg lohit-tamil-fonts
|
2014-07-10 18:32:42 +00:00
|
|
|
installpkg lohit-telugu-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
|
2015-01-12 22:19:00 +00:00
|
|
|
installpkg gnome-icon-theme-legacy
|
2014-01-30 20:41:20 +00:00
|
|
|
installpkg aajohan-comfortaa-fonts
|
2015-01-12 22:19:00 +00:00
|
|
|
installpkg abattis-cantarell-fonts
|
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
|
|
|
|
installpkg python-epdb
|
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
|
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
|
2012-05-21 14:37:19 +00:00
|
|
|
installpkg wget rsync rsh bind-utils ftp mtr vconfig
|
2012-03-20 08:58:11 +00:00
|
|
|
installpkg icfg 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
|
2012-11-06 19:10:53 +00:00
|
|
|
installpkg yum-plugin-fastestmirror yum-langpacks
|
2012-08-22 16:45:16 +00:00
|
|
|
|
2011-05-05 22:24:58 +00:00
|
|
|
## actually install all the requested packages
|
|
|
|
run_pkg_transaction
|