diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-03-18 11:24:52 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-03-18 11:24:52 +0200 |
commit | fa0898552d3c52249bc41e8104eda02c1bbd3359 (patch) | |
tree | 91fb24ddf5c8129872e15e99bcecc175b7de30bc /lib/psm.c | |
parent | 8078d0ba24662308b10d9eb0f0da978584b7e757 (diff) | |
download | librpm-tizen-fa0898552d3c52249bc41e8104eda02c1bbd3359.tar.gz librpm-tizen-fa0898552d3c52249bc41e8104eda02c1bbd3359.tar.bz2 librpm-tizen-fa0898552d3c52249bc41e8104eda02c1bbd3359.zip |
Add support for "lzma alone" compression format (lzdio)
- "lzma alone" is superseeded by XZ but it's used by Suse and Mandriva
distros so it's nice to have as it doesn't need much, only open differs
from XZ
- rpmlib() dependency versions are an uuuuuuuugly mess here: Suse used
"PayloadIsLzma = 4.4.2-1" so that's what we provide to be most compatible
(hopefully). Built packages require "PayloadIsLzma <= 4.4.6-1" however
to be compatible with Mandriva 2008.0. Did I already say it's ugly?
- Based on similar patch in Mandriva by Per Øyvind Karlsen, but avoiding
unnecessary renames in rpmio
Diffstat (limited to 'lib/psm.c')
-rw-r--r-- | lib/psm.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1609,6 +1609,8 @@ rpmRC rpmpsmStage(rpmpsm psm, pkgStage stage) psm->rpmio_flags = "r.bzdio"; if (!strcmp(payload_compressor, "xz")) psm->rpmio_flags = "r.xzdio"; + if (!strcmp(payload_compressor, "lzma")) + psm->rpmio_flags = "r.lzdio"; rpmtdFreeData(&pc); headerFree(h); |