From d30390aa9e62d68e00f4fe57dfe7bb66bee8cf9f Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 21 Feb 2014 10:13:32 -0800 Subject: [PATCH] Remove unneeded images from the product -logos (#1068721) The background images are not used during install, as well as a number of other items from redhat-logos. There was also a bug -- product.name did not expand to 'redhat' so it wasn't removing anything from the -logos package. Resolves: rhbz#1068721 --- share/runtime-cleanup.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl index 8ff1cb24..6e0305cd 100644 --- a/share/runtime-cleanup.tmpl +++ b/share/runtime-cleanup.tmpl @@ -17,7 +17,6 @@ removepkg libcrystalhd crystalhd-firmware ivtv-firmware cx18-firmware ## we don't create new initramfs/bootloader conf inside anaconda ## (that happens inside the target system after we install dracut/grubby) removepkg dracut-network grubby anaconda-dracut -removefrom ${product.name}-logos /usr/share/plymouth/* ## In order to execute the /usr move on upgrades we need convertfs from dracut ## We also need dracut-shutdown.service and dracut-initramfs-restore to reboot removefrom dracut --allbut /usr/lib/dracut/modules.d/30convertfs/convertfs.sh \ @@ -332,9 +331,10 @@ removefrom xorg-x11-drv-wacom /usr/bin/* removefrom xorg-x11-fonts-misc --allbut /usr/share/X11/fonts/misc/{6x13,encodings,fonts,*cursor}* removefrom xorg-x11-server-utils --allbut /usr/bin/xrandr /usr/share/X11/rgb.txt removefrom yum /etc/* /usr/share/locale/* /usr/share/yum-cli/* -removefrom ${product.name}-logos /etc/* -removefrom ${product.name}-logos /usr/share/icons/{Bluecurve,oxygen}/* -removefrom ${product.name}-logos /usr/share/{firstboot,gnome-screensaver,kde4,pixmaps}/* +removefrom redhat-logos /etc/* +removefrom redhat-logos /usr/share/icons/{Bluecurve,oxygen}/* +removefrom redhat-logos /usr/share/{firstboot,gnome-screensaver,kde4,pixmaps}/* +removefrom redhat-logos /usr/share/{plymouth,backgrounds}* ## RHEL cleanups removefrom subscription-manager --allbut /etc/rhsm/* /usr/share/rhsm/* /var/log/rhsm/* \