SF.net SVN: morphix: [2501] trunk/mmaker/templates/basemod-2.6.17.xml

[email protected] Thu, 24 May 2007 11:38:49 -0700
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Revision: 2501
          http://svn.sourceforge.net/morphix/?rev=2501&view=rev
Author:   paul_c
Date:     2007-05-24 11:38:48 -0700 (Thu, 24 May 2007)

Log Message:
-----------
Removing dpkg & friends saves another 1.4(ish) Meg on the overall size of a base.mod

Modified Paths:
--------------
    trunk/mmaker/templates/basemod-2.6.17.xml

Modified: trunk/mmaker/templates/basemod-2.6.17.xml
===================================================================
--- trunk/mmaker/templates/basemod-2.6.17.xml	2007-05-24 17:50:32 UTC (rev 2500)
+++ trunk/mmaker/templates/basemod-2.6.17.xml	2007-05-24 18:38:48 UTC (rev 2501)
@@ -91,6 +91,22 @@
    <packagedel>modutils</packagedel> <!-- Only needed for 2.4 kernels -->
 
   </packagelist>
+<!-- To be really brutal, these commands can be run to chop out dpkg & friends.. -->
+  <commandlist>
+    <command>find /usr/share/locale -name "apt.mo" -exec rm -f {} \;</command>
+    <command>find /usr/share/locale -name "dpkg.mo" -exec rm -f {} \;</command>
+    <command>find /usr/share/locale -name "gnugp.mo" -exec rm -f {} \;</command>
+    <command>find /usr/share/locale -name "libapt*.mo" -exec rm -f {} \;</command>
+    <command>rm -fR /usr/share/lintian /usr/share/keyrings /usr/share/gnupg /usr/share/bug</command>
+    <command>rm -fR /usr/lib/apt /usr/lib/dpkg /usr/lib/gnugp</command>
+    <command>rm -fR /etc/apt /etc/cron /etc/dpkg /etc/logrotate*</command>
+    <command>rm -f /usr/lib/libapt-pkg*</command>
+    <command>rm -f /usr/bin/apt-*</command>
+    <command>rm -f /usr/bin/dpkg*</command>
+    <command>rm -f /usr/bin/gpg*</command>
+    <command>rm -f /usr/bin/lspgpot</command>
+  </commandlist>
+
  </group>
 </comps>
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/