[RULE] Some space saving RPM tricks

M. Fioretti mfioretti at mclink.it
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.

_______________________________________________
Rule Project HOME PAGE:  http://www.rule-project.org/en/
Rule-list at rule-project.org
http://mail.rule-project.org/mailman/listinfo/rule-list_rule-project.org



More information about the Rule-list mailing list