From 2cb1c84600cc0d48be55b5d0f2aad81f74b00d9d Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 8 Feb 2022 23:22:22 -0800 Subject: [PATCH] runtime-cleanup: drop systemd-analyze It's over 1M and not really essential. We might occasionally want to use it to analyze boot of an installer image, but we could just spin an image that includes it when we want to do this. Signed-off-by: Adam Williamson --- share/templates.d/99-generic/runtime-cleanup.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/templates.d/99-generic/runtime-cleanup.tmpl b/share/templates.d/99-generic/runtime-cleanup.tmpl index c75dd4b6..5100f142 100644 --- a/share/templates.d/99-generic/runtime-cleanup.tmpl +++ b/share/templates.d/99-generic/runtime-cleanup.tmpl @@ -41,9 +41,9 @@ 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/share/zsh/site-functions/* +## there's no need for a bunch of zsh files without zsh, +## systemd-analyze is quite large and not essential +removefrom systemd /usr/bin/systemd-analyze /usr/share/zsh/site-functions/* ## we only need syslinux to make the installer image bootable, we don't ## run anything from it that uses mtools, and that's the only thing