rpmbuild change compression format

前端 未结 4 798
面向向阳花
面向向阳花 2020-12-14 02:41

I try to pack some map files for our geoserver in an internal rpm package. For the build part, this is just to copy the files. I think this works as expected. But it takes t

4条回答
  •  不思量自难忘°
    2020-12-14 03:13

    I have used "%define _binary_payload w9.xzdio" on RHEL 6.6. As I understand, the default compression tool used in RHEL 6 is xz, but the default compression level appears to be 2, even though 7 is supposed to be xz's default. I kicked it up to 9 and some giant RPMs went from 653MB to 439MB. I was able to save a total of 1 gigabyte over the default compression.

提交回复
热议问题