lorax/share/templates.d/99-generic/runtime-install.tmpl

178 lines
5.1 KiB
Cheetah
Raw Normal View History

## lorax template file: populate the ramdisk (runtime image)
2011-05-26 17:05:33 +00:00
<%page args="basearch, product"/>
## anaconda package
installpkg anaconda anaconda-widgets
%if basearch != "aarch64":
installpkg kexec-tools-anaconda-addon
%endif
## anaconda deps that aren't in the RPM
installpkg tmux
## for anaconda crash handling
installpkg gdb
## Other available payloads
installpkg dnf
installpkg rpm-ostree
## speed up compression on multicore systems
installpkg pigz
## kernel and firmware
## 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
installpkg grubby
%if basearch != "s390x":
## 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.
installpkg --optional *-firmware --except alsa* --except midisport-firmware \
--except crystalhd-firmware --except ivtv-firmware \
--except cx18-firmware --except iscan-firmware \
--except uhd-firmware
2012-05-03 07:11:03 +00:00
installpkg b43-openfwwf
%endif
## install all of the glibc langpacks since otherwise we get no locales
installpkg glibc-all-langpacks
## arch-specific packages (bootloaders etc.)
%if basearch == "aarch64":
installpkg efibootmgr grub2-efi grub2-efi-modules grub2-tools shim shim-unsigned
%endif
%if basearch in ("arm", "armhfp"):
installpkg kernel-lpae
installpkg uboot-tools
%endif
%if basearch == "i386":
installpkg kernel-PAE gpart
%endif
%if basearch == "x86_64":
installpkg efibootmgr grub2-efi grub2-efi-modules shim shim-unsigned
%endif
2011-07-20 20:48:39 +00:00
%if basearch in ("i386", "x86_64"):
installpkg grub2 grub2-tools memtest86+ syslinux syslinux-nonlinux
%endif
%if basearch in ("ppc", "ppc64", "ppc64le"):
2013-09-09 17:24:13 +00:00
installpkg grub2 grub2-tools fbset hfsutils kernel-bootwrapper ppc64-utils
%endif
%if basearch == "s390x":
installpkg lsscsi s390utils-base s390utils-cmsfs-fuse
%endif
## yay, plymouth
installpkg plymouth
## extra dracut modules
installpkg anaconda-dracut dracut-network dracut-config-generic
## rescue needs this
installpkg cryptsetup
## 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
## required for anaconda-dracut (img-lib etc.)
installpkg tar xz curl bzip2
2012-01-04 01:24:41 +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":
installpkg xorg-x11-drivers xorg-x11-server-Xorg
2013-01-25 21:01:42 +00:00
%endif
installpkg xorg-x11-server-utils xorg-x11-xauth
installpkg dbus-x11 metacity gsettings-desktop-schemas
installpkg nm-connection-editor
installpkg librsvg2
## filesystem tools
2012-03-20 08:47:14 +00:00
installpkg btrfs-progs jfsutils xfsprogs reiserfs-utils gfs2-utils ntfs-3g ntfsprogs
installpkg system-storage-manager
installpkg device-mapper-persistent-data
installpkg xfsdump
## extra storage packages
installpkg storaged storaged-iscsi
## extra libblockdev plugins
installpkg libblockdev-lvm-dbus
## needed for LUKS escrow
installpkg volume_key
installpkg nss-tools
## SELinux support
installpkg selinux-policy-targeted audit
## network tools/servers
installpkg ethtool openssh-server nfs-utils openssh-clients
installpkg tigervnc-server-minimal
%if basearch != "s390x":
installpkg tigervnc-server-module
%endif
installpkg net-tools
installpkg bridge-utils
## hardware utilities/libraries
installpkg pciutils usbutils ipmitool
2013-01-25 21:01:44 +00:00
installpkg mt-st smartmontools
installpkg hdparm
%if basearch not in ("aarch64", "ppc64le", "s390x"):
installpkg pcmciautils
2013-01-25 21:01:44 +00:00
%endif
installpkg libmlx4 rdma
installpkg rng-tools
## fonts & themes
installpkg bitmap-fangsongti-fonts
installpkg dejavu-sans-fonts dejavu-sans-mono-fonts
installpkg kacst-farsi-fonts
installpkg kacst-qurn-fonts
installpkg lklug-fonts
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
installpkg madan-fonts
installpkg nhn-nanum-gothic-fonts
installpkg smc-meera-fonts
installpkg thai-scalable-waree-fonts
installpkg vlgothic-fonts
installpkg wqy-microhei-fonts
installpkg sil-abyssinica-fonts
installpkg xorg-x11-fonts-misc
installpkg aajohan-comfortaa-fonts
installpkg abattis-cantarell-fonts
installpkg sil-scheherazade-fonts
## debugging/bug reporting tools
installpkg gdb-gdbserver
installpkg libreport-plugin-bugzilla libreport-plugin-reportuploader
2011-09-22 19:00:36 +00:00
installpkg fpaste
## extra tools not required by anaconda
installpkg vim-minimal strace lsof dump xz less eject
installpkg wget rsync rsh bind-utils ftp mtr vconfig
2012-03-20 08:58:11 +00:00
installpkg icfg spice-vdagent
installpkg gdisk hexedit sg3_utils
## satisfy libnotify's desktop-notification-daemon with the least crazy option
installpkg notification-daemon
2015-11-30 17:34:35 +00:00
## Docker enabled boot.iso
Not all arches currently have docker At the momenet some PPC and s390 arches don't have docker, in that case we get the following failure when running lorax. DEBUG util.py:417: 2016-03-12 01:00:27,658: dnf.exceptions.DepsolveError: nothing provides docker-utils needed by docker-anaconda-addon-0.2-1.fc24.noarch DEBUG util.py:417: dnf.exceptions.DepsolveError: nothing provides docker-utils needed by docker-anaconda-addon-0.2-1.fc24.noarch DEBUG util.py:417: Traceback (most recent call last): DEBUG util.py:417: File "/usr/sbin/lorax", line 353, in <module> DEBUG util.py:417: main(sys.argv) DEBUG util.py:417: File "/usr/sbin/lorax", line 209, in main DEBUG util.py:417: remove_temp=True, verify=opts.verify) DEBUG util.py:417: File "/usr/lib/python3.5/site-packages/pylorax/__init__.py", line 277, in run DEBUG util.py:417: rb.install() DEBUG util.py:417: File "/usr/lib/python3.5/site-packages/pylorax/treebuilder.py", line 119, in install DEBUG util.py:417: self._runner.run("runtime-install.tmpl") DEBUG util.py:417: File "/usr/lib/python3.5/site-packages/pylorax/ltmpl.py", line 219, in run DEBUG util.py:417: self._run(commands) DEBUG util.py:417: File "/usr/lib/python3.5/site-packages/pylorax/ltmpl.py", line 238, in _run DEBUG util.py:417: f(*args) DEBUG util.py:417: File "/usr/lib/python3.5/site-packages/pylorax/ltmpl.py", line 540, in run_pkg_transaction DEBUG util.py:417: self.dbo.resolve() DEBUG util.py:417: File "/usr/lib/python3.5/site-packages/dnf/base.py", line 547, in resolve DEBUG util.py:417: raise exc DEBUG util.py:417: dnf.exceptions.DepsolveError: nothing provides docker-utils needed by docker-anaconda-addon-0.2-1.fc24.noarch DEBUG util.py:542: Child return code was: 1 Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2016-03-12 07:45:35 +00:00
# Not all arches currently have docker
%if basearch not in ("ppc", "ppc64", "s390"):
Not all arches currently have docker At the momenet some PPC and s390 arches don't have docker, in that case we get the following failure when running lorax. DEBUG util.py:417: 2016-03-12 01:00:27,658: dnf.exceptions.DepsolveError: nothing provides docker-utils needed by docker-anaconda-addon-0.2-1.fc24.noarch DEBUG util.py:417: dnf.exceptions.DepsolveError: nothing provides docker-utils needed by docker-anaconda-addon-0.2-1.fc24.noarch DEBUG util.py:417: Traceback (most recent call last): DEBUG util.py:417: File "/usr/sbin/lorax", line 353, in <module> DEBUG util.py:417: main(sys.argv) DEBUG util.py:417: File "/usr/sbin/lorax", line 209, in main DEBUG util.py:417: remove_temp=True, verify=opts.verify) DEBUG util.py:417: File "/usr/lib/python3.5/site-packages/pylorax/__init__.py", line 277, in run DEBUG util.py:417: rb.install() DEBUG util.py:417: File "/usr/lib/python3.5/site-packages/pylorax/treebuilder.py", line 119, in install DEBUG util.py:417: self._runner.run("runtime-install.tmpl") DEBUG util.py:417: File "/usr/lib/python3.5/site-packages/pylorax/ltmpl.py", line 219, in run DEBUG util.py:417: self._run(commands) DEBUG util.py:417: File "/usr/lib/python3.5/site-packages/pylorax/ltmpl.py", line 238, in _run DEBUG util.py:417: f(*args) DEBUG util.py:417: File "/usr/lib/python3.5/site-packages/pylorax/ltmpl.py", line 540, in run_pkg_transaction DEBUG util.py:417: self.dbo.resolve() DEBUG util.py:417: File "/usr/lib/python3.5/site-packages/dnf/base.py", line 547, in resolve DEBUG util.py:417: raise exc DEBUG util.py:417: dnf.exceptions.DepsolveError: nothing provides docker-utils needed by docker-anaconda-addon-0.2-1.fc24.noarch DEBUG util.py:542: Child return code was: 1 Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2016-03-12 07:45:35 +00:00
installpkg docker-anaconda-addon
%endif
2015-11-30 17:34:35 +00:00
## actually install all the requested packages
run_pkg_transaction