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
From: "Brian C. Lane" bcl@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
This seems to me like a bug in DNF -- it should use the smallest package fulfilling the requirements, I think. ACK to this change as a workaround, but we should discuss this with the DNF developers.
Added label: ACK.
Closed.
anaconda-patches@lists.fedorahosted.org