]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
rpm2cpio.sh: update to the last 4.x version
authorAlberto Planas <aplanas@suse.com>
Mon, 19 Jun 2023 06:42:48 +0000 (08:42 +0200)
committerSteve Sakoman <steve@sakoman.com>
Wed, 16 Aug 2023 16:11:05 +0000 (06:11 -1000)
commit9c0d66e693aa7ab8b3f2a3c68764e4ab6159c085
tree9e0f372cf2611945d8959ba7c5a8060c2a9a27e7
parented4e4290a73b3fa0df9530a511f992e236e8ae9f
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: Alberto Planas <aplanas@suse.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3aba44a75dd565b192f7328f2a0150a313de3cc1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
scripts/rpm2cpio.sh