RPM Community Forums

Mailing List Message of <rpm-devel>

Re: size of db_* files in lib/rpm

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Mon 28 Jan 2008 - 07:57:14 CET
Message-ID: <20080128065714.GA84040@engelschall.com>
On Mon, Jan 28, 2008, Peter Kalbus wrote:

> looking a little inside, i detected, that a lot is coming from db_* files
> from lib/rpm

> suprising is, that all are nearly the same size as if they have a common
> big part and same small add ons
>
> are my ideas right?
> can it be changed to save space?

Build RPM with Autoconf option --with-db-tools-integrated to merge
all db_xxx tools into a single db_tool.

> we' will use the system for an embedded system. we're know fighting for
> every byte, but 7.5 mbyte is at least critical.

You can also remove the "rpmbuild" executable as all of its
functionality is also in "rpm". Also, you can remove a dozen installed
scripts in case you don't need them...

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Mon Jan 28 21:37:32 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.