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 <[email protected]> --- scripts/runqemu-extract-sdk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.52.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#229316): https://lists.openembedded.org/g/openembedded-core/message/229316 Mute This Topic: https://lists.openembedded.org/mt/117258948/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
