Skip to content
Commit 9c0d66e6 authored by Alberto Planas's avatar Alberto Planas Committed by Steve Sakoman
Browse files

rpm2cpio.sh: update to the last 4.x version



openSUSE RPMs are compressing the RPM payload using zstd, that
correspond to the magic ID 0x28, 0xb5, 0x2f.

This patch update the script to the last version from the rpm project,
and add support to this compression format, and extract the cpio payload
using the "unzstd" binary.

Signed-off-by: default avatarAlberto Planas <aplanas@suse.com>
Signed-off-by: default avatarLuca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3aba44a7)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent ed4e4290
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment