summaryrefslogtreecommitdiffstats
path: root/scripts/buildall-qemu
diff options
context:
space:
mode:
authorLamine REHAHLIA <lamine.rehahlia@smile.fr>2025-07-31 17:33:10 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-06 22:32:41 +0100
commit820a6edcec880ff02deb3fdb0a60832e57726bcd (patch)
tree036bbd362146316072d9e52de545642754e0b007 /scripts/buildall-qemu
parentd4b949b1782fb888e2a11000c90941900cdc2155 (diff)
downloadpoky-820a6edcec880ff02deb3fdb0a60832e57726bcd.tar.gz
runqemu: Add support for running compressed .zst rootfs images
Enhance runqemu to detect and decompress .zst-compressed rootfs images (e.g. ext4.zst, wic.zst) automatically. If a decompressed image already exists in the original directory, it will be reused to avoid overwriting build artifacts. Otherwise, the image is decompressed and removed after the QEMU session ends. This allows runqemu to be used seamlessly with compressed image formats generated by the build system or during releases. Note: support for .zst images is only available when snapshot mode is enabled IMPORTANT: This patch assumes that the original directory of the .zst-compressed image is writable. If, for some reason, the path passed from CI or another system to the script is read-only, the decompression step will fail when trying to write the uncompressed image to the same directory. (From OE-Core rev: e069fe2480c871c649b83f6278564a553cc3dd58) Signed-off-by: Lamine REHAHLIA <lamine.rehahlia@smile.fr> Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/buildall-qemu')
0 files changed, 0 insertions, 0 deletions