![]() ![]() This enables XZ payload compression level 7 (suggested default by upstream) for binary RPMs. In order to turn on XZ payload compression for binary RPMS one could define following macros in /usr/lib/rpm/macros globally or in ~/.rpmmacros file locally: If a mass rebuild has been done, another one would need done to rebuild with gzip payloads. The contingency plan is to continue using gzipped payloads. The XZ library is in beta, but the file format has been finalized (it is why we are using XZ instead of the not-finalized LZMA). XZ package needs to be added to Fedora, and RPM built against it. Users should see smaller packages and downloads. This can be done by checking for the rpmlib(PayloadIsXz) dependency in the package itself.Ĭheck the dependencies of RPM itself, make sure it's linked against the XZ library, and that it provides the 'rpmlib(PayloadIsXz) dependency.Ĭheck successful extraction of RPM payload by installing or extracting contents of XZ compressed RPMs via rpm2cpio utility.Ĭheck that deltarpms can still be successfully created, and that the resulting RPM can be reassembled. Query built rpms, make sure they are using the new payload format. ![]() The final step is not required to support new payloads, but it is what provides the most benefit to Fedora users.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |