From 1fa622e77c51aca7a4e9c883414611a639208938 Mon Sep 17 00:00:00 2001 From: David Shea Date: Mon, 20 Jul 2015 09:01:01 -0400 Subject: [PATCH] Remove some junk that didn't work anyway systemd-nspawn is some kind of container thing, and cairo-sphinx, as far as I can tell (go ahead, try to google it) is a cairo debugging tool. Neither of these are particularly useful on installer media and both use libraries that are removed during cleanup. --- share/runtime-cleanup.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl index 88696568..3ad9e919 100644 --- a/share/runtime-cleanup.tmpl +++ b/share/runtime-cleanup.tmpl @@ -53,6 +53,10 @@ remove /etc/logrotate.d ## anaconda needs this to do media check removefrom isomd5sum --allbut /usr/bin/checkisomd5 +## systemd-nspawn isn't very useful and doesn't link anyway without iptables, +## and there's no need for a bunch of zsh files without zsh +removefrom systemd /usr/bin/systemd-nspawn /usr/share/zsh + ## various other things we remove to save space removepkg avahi-autoipd coreutils-libs dash db4-utils diffutils file removepkg genisoimage info iptables @@ -135,7 +139,7 @@ removefrom bind-utils /usr/bin/dig /usr/bin/host /usr/bin/nsupdate removefrom bitmap-fangsongti-fonts /usr/share/fonts/* removefrom ca-certificates /etc/pki/java/* removefrom ca-certificates /etc/pki/tls/certs/ca-bundle.trust.crt /etc/ssl/* -removefrom cairo /usr/${libdir}/libcairo-script* +removefrom cairo /usr/${libdir}/libcairo-script* /usr/bin/cairo-sphinx removefrom coreutils /etc/* /usr/bin/link /usr/bin/nice /usr/bin/stty /usr/bin/su /usr/bin/unlink removefrom coreutils /usr/sbin/runuser /usr/bin/[ /usr/bin/base64 /usr/bin/chcon removefrom coreutils /usr/bin/cksum /usr/bin/comm /usr/bin/csplit