|
Bugzilla – Full Text Bug Listing |
| Summary: | rpm: enable xz payload | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.2 | Reporter: | Jan Engelhardt <jengelh> |
| Component: | Basesystem | Assignee: | Stephan Kulow <coolo> |
| Status: | RESOLVED WONTFIX | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Enhancement | ||
| Priority: | P5 - None | CC: | meissner, mls |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Found By: | Beta-Customer | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Jan Engelhardt
2009-11-20 22:11:27 UTC
Seems it is already xz-capable at least. What is then needed is to change %_{source,binary}_payload in macros.in to xzdio.
I don't get your report - fedora took our patch. What is that you actually want? In SUSE's /usr/lib/rpm/macros, one can find: # → Compression type and level for source/binary package payloads. # → → "w9.gzdio" → gzip level 9 (default). # → → "w9.bzdio" → bzip2 level 9. # → → "w7.xzdio" → xz level 7, xz's default. # → → "w7.lzdio" → lzma-alone level 7, lzma's default # #%_source_payload → w9.gzdio %_binary_payload → w5.lzdio I was suggesting to use xzdio instead of lzdio here for the payload. yes, but you failed to express the reasons it would be good to do so. I won't make changes for changes. The 'badness' of the headerless LZMA has been discussed enough; though I guess it is not so much a problem inside rpm because rpms seem to have a tag what compression what was used. Perhaps still go for consistency? The downside is that old rpms can't unpack rpms with xz payloads, that's why we didn't do the change for 11.2. We'll probably do it for 11.3 or 11.4, though. (Unfortunately SLES11 is based on 11.1, so it doesn't understand xz.) >The downside is that old rpms can't unpack rpms with xz payloads
I have to disagree. Every supported distro release that can unpack LZMA (that would include both 11.0 and 11.1) also seem to have no problems with my XZ rpms. That is also why it sounded so appalling to use xz.
Huh, try 'rpm -i' or 'rpm2cpio' of a fedora 12 package on a 11.1 host. Oh well, turns out rpm2cpio does not throw an error when it encounters an unknown payload type. My bad. |