On Wed, Sep 19, 2018 at 4:53 AM Jan Engelhardt <jengelh@inai.de> wrote:
On Wednesday 2018-09-19 10:47, Bernhard M. Wiedemann wrote:
Hi,
I had noticed that our rpm files and especially .drpm files can get a lot smaller by compressing them with xz or gzip.
1) how much effort would it be to patch librpm, libsolv, libzypp, createrepo, OBS and other tools to support .rpm.xz files.
Prior report: http://bugzilla.novell.com/show_bug.cgi?id=557433
The current stance is that *zstd* is the new kid on the block (and rpm supports it now, too), compressing nearly as strong as xz, but in the timespace of gzip.
Updating %_binary_payload in prjconf or rpm-config-SUSE should do the job, at least for the plain BRPMs. %_source_payload for SRPMS. Not sure about drpms - AFAIU, they count as BRPMs.
So I looked into this in the context of doing this in Fedora. While it is true that it's faster and uses a lot less memory, the on-disk usage goes up by ~5-15% (zstd 9 vs xz 2), depending on the package. So for the moment, I've shelved the idea of zstd RPMs until I can get a better picture on how to get better compression without it taking longer than xz. -- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org