summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorYoann Congal <yoann.congal@smile.fr>2025-07-31 17:33:12 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-06 22:32:41 +0100
commit60676f12f2964379a17a41799ecab779ac9cb8be (patch)
tree3dd70a984d98867254d798d3f9571259104189cb /scripts
parent89bd495091dfdcd3211761dc601ea1e81ae4ced7 (diff)
downloadpoky-60676f12f2964379a17a41799ecab779ac9cb8be.tar.gz
runqemu: accept vmtypes and wictypes for rootfs paths extensions
When using a .wic.zst image, its fstype is detected by default as ".zst" which prevent booting correctly. Fix this by adding wictypes (and vmtypes while at it) to the list of known fstypes. After this fix, the initial fstype is correctly ".wic.zst". (From OE-Core rev: 26b0922977d1bfcf47bbccf624be86e9e2b8815a) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index c668906bdd..da53265219 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -380,7 +380,7 @@ class BaseConfig(object):
380 # Check filename against self.fstypes can handle <file>.cpio.gz, 380 # Check filename against self.fstypes can handle <file>.cpio.gz,
381 # otherwise, its type would be "gz", which is incorrect. 381 # otherwise, its type would be "gz", which is incorrect.
382 fst = "" 382 fst = ""
383 for t in self.fstypes: 383 for t in self.fstypes + self.vmtypes + self.wictypes:
384 if p.endswith(t): 384 if p.endswith(t):
385 fst = t 385 fst = t
386 break 386 break