mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
89bd495091
commit
60676f12f2
@@ -380,7 +380,7 @@ class BaseConfig(object):
|
||||
# Check filename against self.fstypes can handle <file>.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
|
||||
|
||||
Reference in New Issue
Block a user