From: Yoann Congal Date: Thu, 31 Jul 2025 15:33:12 +0000 (+0200) Subject: runqemu: accept vmtypes and wictypes for rootfs paths extensions X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=26b0922977d1bfcf47bbccf624be86e9e2b8815a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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". Signed-off-by: Yoann Congal Signed-off-by: Richard Purdie --- 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): # Check filename against self.fstypes can handle .cpio.gz, # otherwise, its type would be "gz", which is incorrect. fst = "" - for t in self.fstypes: + for t in self.fstypes + self.vmtypes + self.wictypes: if p.endswith(t): fst = t break