From: Alex Bradbury Date: Wed, 14 Jan 2026 10:26:11 +0000 (+0000) Subject: runqemu-extract-sdk: support tar.zst format X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=650bb45251b518847fd998891d5b6b5989fb7cd8;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git runqemu-extract-sdk: support tar.zst format Building `core-image-minimal-dev` with Poky Whinlatter, the rootfs tarball is compressed with zstd by default, meaning this script won't work out of the box with it. Signed-off-by: Alex Bradbury Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- diff --git a/scripts/runqemu-extract-sdk b/scripts/runqemu-extract-sdk index db05da25f2..528ef76430 100755 --- a/scripts/runqemu-extract-sdk +++ b/scripts/runqemu-extract-sdk @@ -52,12 +52,15 @@ fi if [[ "$ROOTFS_TARBALL" =~ tar\.gz$ ]]; then TAR_OPTS="--numeric-owner -xzf" fi +if [[ "$ROOTFS_TARBALL" =~ tar\.zst$ ]]; then + TAR_OPTS="--numeric-owner --zstd -xf" +fi if [[ "$ROOTFS_TARBALL" =~ \.tar$ ]]; then TAR_OPTS="--numeric-owner -xf" fi if [ -z "$TAR_OPTS" ]; then echo "Error: Unable to determine sdk tarball format" - echo "Accepted types: .tar / .tar.gz / .tar.bz2 / .tar.xz" + echo "Accepted types: .tar / .tar.gz / .tar.bz2 / .tar.xz / tar.zst" exit 1 fi