From 46b405d40a8d3b2ed869736fb303f4b4f4f1353d Mon Sep 17 00:00:00 2001 From: Will Woods Date: Wed, 23 May 2012 17:51:14 -0400 Subject: [PATCH] runtime-cleanup: correctly clean up kbd The 'removefrom kbd' line wasn't deleting anything because it was looking in the wrong place. It was also kind of wordy. This version should keep the needed binaries and remove the stuff we don't need, as intended. --- share/runtime-cleanup.tmpl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl index 4a02fe32..a69d5241 100644 --- a/share/runtime-cleanup.tmpl +++ b/share/runtime-cleanup.tmpl @@ -223,11 +223,7 @@ removefrom hwdata /usr/share/hwdata/upgradelist removefrom initscripts /etc/ppp/* /usr/sbin/* /usr/share/locale/* removefrom iproute --allbut /usr/sbin/{ip,routef,routel,rtpr} removefrom iscsi-initiator-utils /etc/rc.d/* -removefrom kbd \ - /usr/bin/{chvt,deallocvt,fgconsole,getkeycodes,kbdinfo,kbdrate,loadunimap,\ - mapscrn,open,openvt,psfaddtable,psfgettable,psfstriptable,psfxtable,\ - setkeycodes,setleds,setmetamode,setvtrgb,showconsolefont,showkey} \ - /usr/share/locale/* +removefrom kbd --allbut */bin/{dumpkeys,kbd_mode,loadkeys,setfont,unicode_*} removefrom krb5-libs /etc/* /${libdir}/libgssrpc* /usr/${libdir}/* removefrom less /etc/* removefrom libX11-common /usr/share/X11/XErrorDB