[RULE] Some space saving RPM tricks

M. Fioretti mfioretti
Fri Apr 8 00:46:25 EEST 2005


Just seen on fedora/devel:

#########################################################

If you want to keep using RPM, placing these macros in /etc/rpm/macros
before installing the packages (using yum --installroot or whatever)
will help reduce some of the package bloat:

%_excludedocs 1
%_install_langs %{nil}

A custom kernel RPM that eliminates the /lib/modules/$KVER/build/*
subtree and unnecessary modules will also save tens of megabytes:

% rpm -qp --qf "%{SIZE} %{NAME}\n" kernel-2.6.10 kernel-lite-2.6.10 
35919932 kernel
11309049 kernel-lite

----- End forwarded message -----

-- 
Marco Fioretti                    mfioretti, at the server mclink.it
Fedora Core 3 for low memory      http://www.rule-project.org/

Real Programmers don't play tennis, or any other sport that requires
you to change clothes.  Mountain climbing is OK, and real programmers
wear their climbing boots to work in case a mountain should suddenly
spring up in the middle of the machine room.

_______________________________________________
Original home page of the RULE project: www.rule-project.org
Rule-list at rule-project.org
http://mail.rule-project.org/mailman/listinfo/rule-list_rule-project.org



This full static mirror of the Run Up to Date Linux Everywhere Project mailing list, originally hosted at http://lists.hellug.gr/mailman/listinfo/rule-list, is kept online by Free Software popularizer, researcher and trainer Marco Fioretti. To know how you can support this archive, and Marco's work in general, please click here