From d96a5cf8d532dfaa0d3781513b2d5df5918fd905 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 23 Feb 2026 12:12:39 -0800 Subject: [PATCH] runtime-cleanup: don't strip /usr/share from gdb-headless It makes gdb useless because it gets rid of its _execute_unwinders function, which it needs to generate useful backtraces. Probably other vital stuff is here as well, and it's only 1M big. Signed-off-by: Adam Williamson --- share/templates.d/99-generic/runtime-cleanup.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/templates.d/99-generic/runtime-cleanup.tmpl b/share/templates.d/99-generic/runtime-cleanup.tmpl index 2d11cfd97..1f84ec448 100644 --- a/share/templates.d/99-generic/runtime-cleanup.tmpl +++ b/share/templates.d/99-generic/runtime-cleanup.tmpl @@ -151,7 +151,7 @@ removefrom findutils /usr/share/* removefrom fontconfig /usr/bin/* removefrom gawk /usr/libexec/* /usr/share/* removefrom gdb /usr/share/* /usr/include/* -removefrom gdb-headless /usr/share/* /etc/gdbinit* +removefrom gdb-headless /etc/gdbinit* removefrom gdisk /usr/share/* removefrom gdk-pixbuf2 /usr/share/locale* removefrom glib2 /usr/bin/* /usr/share/locale/*