psm.c, rpm2cpio.c: updated for xz decompression
This commit is contained in:
parent
0cded3969f
commit
0b739a3a9f
@ -1873,6 +1873,8 @@ assert(psm->mi == NULL);
|
|||||||
t = stpcpy(t, ".bzdio");
|
t = stpcpy(t, ".bzdio");
|
||||||
if (!strcmp(payload_compressor, "lzma"))
|
if (!strcmp(payload_compressor, "lzma"))
|
||||||
t = stpcpy(t, ".lzdio");
|
t = stpcpy(t, ".lzdio");
|
||||||
|
if (!strcmp(payload_compressor, "xz"))
|
||||||
|
t = stpcpy(t, ".xzdio");
|
||||||
rc = RPMRC_OK;
|
rc = RPMRC_OK;
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
|
@ -55,6 +55,8 @@ int main(int argc, char **argv)
|
|||||||
t = stpcpy(t, ".bzdio");
|
t = stpcpy(t, ".bzdio");
|
||||||
if (!strcmp(payload_compressor, "lzma"))
|
if (!strcmp(payload_compressor, "lzma"))
|
||||||
t = stpcpy(t, ".lzdio");
|
t = stpcpy(t, ".lzdio");
|
||||||
|
if (!strcmp(payload_compressor, "xz"))
|
||||||
|
t = stpcpy(t, ".xzdio");
|
||||||
}
|
}
|
||||||
|
|
||||||
gzdi = Fdopen(fdi, rpmio_flags); /* XXX gzdi == fdi */
|
gzdi = Fdopen(fdi, rpmio_flags); /* XXX gzdi == fdi */
|
||||||
|
Loading…
Reference in New Issue
Block a user