[PATCH lorax/master 5/7] runtime-cleanup: correctly clean up kbd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 4a02fe3..a69d524 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
-- 
1.7.10.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux