Enrico Scholz wrote:
shahms@xxxxxxxxxx (Shahms King) writes:
[... removal of %changelog from rpms ...]$ rpm -qa --changelog | wc -c
It'd be interesting to see how much space something like this would save first.
11597562
As they are stored compressed, it is much less:
Headers are compressed only in yum-2.0.x archives, no place else, certainly
not *.rpm files nor in /var/lib/rpm/Packages nor in any transaction set memory.
| $ rpm -qpC --nodigest --nosignature *.rpm |LANG=C wc | 511863 2364195 15619260
| $ rpm -qpC --nodigest --nosignature *.rpm | gzip -9 - | LANG=C wc | 12338 67545 3136942
| $ rpm -qpC --nodigest --nosignature *.rpm | bzip2 -9 - | LANG=C wc | 6339 37933 1813872
(FC3 binaries rpms).
All this discussion because of 2-3 MB additional space?
Yep, with the correction above.
73 de Jeff