From 0f7fad6309a79c520cbb53fbcaa705a6bd5c8699 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Tue, 8 Feb 2022 18:14:45 -0800 Subject: [PATCH] runtime-cleanup: drop guile22's ccache As best I can tell, guile22 is only in the installer env because we include gdb and gdb depends on the libraries from it. gdb's dep is for guile scripting support, AIUI. I don't think any kind of libreport or manual gdb debugging we'd do in the installer env would need that support, and even if it does, the ccache does seem to be a cache - docs say if the files are not present, they'll be generated on the fly from the .scm format sources in /usr/share/guile/2.2. So I think it should be safe to ditch this cache, which is large (it takes up ~38M uncompressed). Signed-off-by: Adam Williamson --- share/templates.d/99-generic/runtime-cleanup.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/share/templates.d/99-generic/runtime-cleanup.tmpl b/share/templates.d/99-generic/runtime-cleanup.tmpl index fcc53644..b7692f8f 100644 --- a/share/templates.d/99-generic/runtime-cleanup.tmpl +++ b/share/templates.d/99-generic/runtime-cleanup.tmpl @@ -188,6 +188,7 @@ removefrom google-noto-sans-cjk-ttc-fonts /usr/share/fonts/google-noto-cjk/NotoS removefrom grep /etc/* /usr/share/locale/* removefrom gtk2 /usr/bin/update-gtk-immodules removefrom gtk3 /usr/${libdir}/gtk-3.0/* +removefrom guile22 /usr/${libdir}/guile/2.2/ccache* removefrom gzip /usr/bin/{gzexe,zcmp,zdiff,zegrep,zfgrep,zforce,zgrep,zless,zmore,znew} removefrom hwdata /usr/share/hwdata/oui.txt /usr/share/hwdata/pnp.ids removefrom iproute --allbut /usr/sbin/{ip,routef,routel,rtpr}