4c3595e797
When it is left up to dnf to decide how to fulfill the kmod() requirement from gfs2-utils it will pick kernel-debuginfo-* which adds about 100M to the size of the iso. Adding these packages first makes dnf choose them and the iso size is back down around 450MB
159 lines
4.4 KiB
Cheetah
159 lines
4.4 KiB
Cheetah
## lorax template file: populate the ramdisk (runtime image)
|
|
<%page args="basearch, product"/>
|
|
|
|
## anaconda package
|
|
installpkg anaconda anaconda-widgets
|
|
installpkg kexec-tools-anaconda-addon
|
|
## anaconda deps that aren't in the RPM
|
|
installpkg tmux
|
|
## 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":
|
|
installpkg *-firmware
|
|
installpkg b43-openfwwf
|
|
%endif
|
|
|
|
## arch-specific packages (bootloaders etc.)
|
|
%if basearch == "aarch64":
|
|
installpkg efibootmgr grub2-efi grubby 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 shim shim-unsigned
|
|
%endif
|
|
%if basearch in ("i386", "x86_64"):
|
|
installpkg grub2 grub2-tools memtest86+ syslinux syslinux-nonlinux
|
|
%endif
|
|
%if basearch in ("ppc", "ppc64", "ppc64le"):
|
|
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
|
|
|
|
## 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
|
|
## fedup and rescue need this
|
|
installpkg cryptsetup
|
|
|
|
## 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 bzip2
|
|
|
|
## 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 librsvg2
|
|
|
|
## filesystem tools
|
|
installpkg btrfs-progs jfsutils xfsprogs reiserfs-utils gfs2-utils ntfs-3g ntfsprogs
|
|
installpkg system-storage-manager
|
|
installpkg device-mapper-persistent-data
|
|
installpkg xfsdump
|
|
|
|
## 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
|
|
installpkg mt-st smartmontools
|
|
%if basearch != "s390x":
|
|
installpkg hdparm pcmciautils
|
|
%endif
|
|
installpkg libmlx4 rdma
|
|
|
|
## translations & language packs
|
|
installpkg python3-dnf-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-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
|
|
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 gnome-icon-theme-legacy
|
|
installpkg aajohan-comfortaa-fonts
|
|
installpkg abattis-cantarell-fonts
|
|
|
|
## debugging/bug reporting tools
|
|
installpkg gdb-gdbserver
|
|
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 hexedit sg3_utils
|
|
|
|
## satisfy libnotify's desktop-notification-daemon with the least crazy option
|
|
installpkg notification-daemon
|
|
|
|
## actually install all the requested packages
|
|
run_pkg_transaction
|