From 7d45b51ad81b88f1e2d6141710047e5d109eb37a 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 098f2b5b..9156e109 100644 --- a/share/templates.d/99-generic/runtime-cleanup.tmpl +++ b/share/templates.d/99-generic/runtime-cleanup.tmpl @@ -176,6 +176,7 @@ removefrom google-noto-sans-cjk-ttc-fonts /usr/share/fonts/google-noto-cjk/NotoS removefrom google-noto-sans-vf-fonts /usr/share/fonts/google-noto-vf/NotoSans-Italic-VF.ttf removefrom grep /etc/* /usr/share/locale/* 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}