[master 1/1] Explicitly add kernel-modules and kernel-modules-extra

bcl installerbot-noreply at redhat.com
Mon Jun 22 23:27:22 UTC 2015


From: "Brian C. Lane" <bcl at redhat.com>

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
---
 share/runtime-install.tmpl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/share/runtime-install.tmpl b/share/runtime-install.tmpl
index ebbb90f..64c36f8 100644
--- a/share/runtime-install.tmpl
+++ b/share/runtime-install.tmpl
@@ -13,7 +13,9 @@ installpkg rpm-ostree
 installpkg pigz
 
 ## kernel and firmware
-installpkg kernel
+## 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


-- 
To view this commit on github, visit https://github.com/rhinstaller/lorax/commit/4c3595e797260d6206648923397c17867dd77eb6


More information about the anaconda-patches mailing list