e7a75d281f
dracut tries to build hostonly initrd by default without the nohostonly package/config; this results in a bunch of error messages about missing files in proc and sys, and then the resulting initrd doesn't work 'cuz it doesn't have any drivers for anything.
145 lines
4.0 KiB
Cheetah
145 lines
4.0 KiB
Cheetah
## lorax template file: populate the ramdisk (runtime image)
|
|
<%page args="basearch, product"/>
|
|
|
|
## anaconda package
|
|
installpkg anaconda anaconda-widgets
|
|
## anaconda deps that aren't in the RPM
|
|
installpkg tmux
|
|
installpkg firstboot
|
|
installpkg iscsi-initiator-utils
|
|
## speed up compression on multicore systems
|
|
installpkg pigz
|
|
|
|
## firstaidkit (rescue mode) packages
|
|
installpkg firstaidkit-plugin-{passwd,key-recovery,mdadm-conf}
|
|
|
|
## kernel and firmware
|
|
installpkg kernel
|
|
%if basearch != "s390x":
|
|
installpkg *-firmware
|
|
installpkg b43-openfwwf
|
|
%endif
|
|
|
|
## arch-specific packages (bootloaders etc.)
|
|
%if basearch in ("arm", "armhfp"):
|
|
installpkg kernel-highbank kernel-imx kernel-kirkwood kernel-mvebu kernel-omap kernel-tegra
|
|
installpkg uboot-tools
|
|
%endif
|
|
%if basearch == "i386":
|
|
installpkg kernel-PAE gpart
|
|
%endif
|
|
%if basearch in ("i386", "x86_64"):
|
|
installpkg grub2 grub2-tools biosdevname memtest86+ syslinux
|
|
installpkg efibootmgr grub2-efi shim shim-unsigned
|
|
%endif
|
|
%if basearch in ("ppc", "ppc64"):
|
|
installpkg grub2 grub2-tools yaboot fbset hfsutils kernel-bootwrapper ppc64-utils
|
|
%endif
|
|
%if basearch == "s390x":
|
|
installpkg lsscsi modutils s390utils-base s390utils-cmsfs-fuse
|
|
%endif
|
|
|
|
## yay, plymouth
|
|
installpkg plymouth
|
|
|
|
## extra dracut modules
|
|
installpkg anaconda-dracut dracut-network dracut-nohostonly dracut-norescue
|
|
|
|
## fedup-dracut handles upgrades
|
|
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
|
|
|
|
## rpcbind or portmap needed by dracut nfs module
|
|
installpkg rpcbind
|
|
|
|
## required for dracut
|
|
installpkg kbd kbd-misc
|
|
## required for anaconda-dracut (img-lib etc.)
|
|
installpkg tar xz curl
|
|
|
|
## basic system stuff
|
|
installpkg systemd-sysv systemd-units
|
|
installpkg rsyslog
|
|
|
|
## xorg/GUI packages
|
|
%if basearch != "s390x":
|
|
installpkg xorg-x11-drivers xorg-x11-server-Xorg
|
|
%endif
|
|
installpkg xorg-x11-server-utils xorg-x11-xauth
|
|
installpkg dbus-x11 metacity gsettings-desktop-schemas
|
|
installpkg nm-connection-editor
|
|
installpkg at-spi at-spi2-atk pyatspi
|
|
installpkg gnome-python2-gconf
|
|
installpkg gobject-introspection
|
|
installpkg librsvg2
|
|
installpkg polkit-desktop-policy
|
|
installpkg gnome-keyring
|
|
installpkg python-imaging
|
|
|
|
## filesystem tools
|
|
installpkg btrfs-progs jfsutils xfsprogs reiserfs-utils gfs2-utils ntfs-3g ntfsprogs
|
|
installpkg python-volume_key volume_key
|
|
installpkg system-storage-manager
|
|
|
|
## SELinux support
|
|
installpkg selinux-policy-targeted audit libsemanage-python
|
|
|
|
## network tools/servers
|
|
installpkg python-ethtool ethtool openssh-server nfs-utils
|
|
installpkg tigervnc-server-minimal
|
|
%if basearch != "s390x":
|
|
installpkg tigervnc-server-module
|
|
%endif
|
|
installpkg chrony rdate
|
|
installpkg net-tools
|
|
|
|
## hardware utilities/libraries
|
|
installpkg pciutils usbutils
|
|
installpkg mt-st smartmontools
|
|
%if basearch != "s390x":
|
|
installpkg hdparm pcmciautils
|
|
%endif
|
|
installpkg libmlx4
|
|
|
|
## translations & language packs
|
|
installpkg yum-langpacks
|
|
|
|
## 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-*-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 xorg-x11-fonts-ethiopic xorg-x11-fonts-misc
|
|
installpkg gnome-themes-standard gnome-icon-theme-legacy
|
|
|
|
## branding & logos
|
|
installpkg fedora-gnome-theme fedora-icon-theme
|
|
|
|
## debugging/bug reporting tools
|
|
installpkg gdb-gdbserver
|
|
installpkg python-epdb
|
|
installpkg libreport-plugin-bugzilla libreport-plugin-reportuploader
|
|
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
|
|
installpkg icfg spice-vdagent
|
|
installpkg gdisk
|
|
|
|
## yum plugins
|
|
installpkg yum-plugin-fastestmirror yum-langpacks
|
|
|
|
## actually install all the requested packages
|
|
run_pkg_transaction
|