mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
runqemu: Add squashfs filesystem types
When using a squashfs filesystem type, runqemu requires specifying the full path to the image because it doesn't list squashfs types in its fstypes variable. Add them to provide the same support as other filesystem types. (From OE-Core rev: c9c9a077e85b56f495f09187483548149f142a8d) Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
2d052d72f9
commit
91acd29313
@@ -198,7 +198,9 @@ class BaseConfig(object):
|
||||
self.snapshot = False
|
||||
self.wictypes = ('wic', 'wic.vmdk', 'wic.qcow2', 'wic.vdi', "wic.vhd", "wic.vhdx")
|
||||
self.fstypes = ('ext2', 'ext3', 'ext4', 'jffs2', 'nfs', 'btrfs',
|
||||
'cpio.gz', 'cpio', 'ramfs', 'tar.bz2', 'tar.gz')
|
||||
'cpio.gz', 'cpio', 'ramfs', 'tar.bz2', 'tar.gz',
|
||||
'squashfs', 'squashfs-xz', 'squashfs-lzo',
|
||||
'squashfs-lz4', 'squashfs-zst')
|
||||
self.vmtypes = ('hddimg', 'iso')
|
||||
self.fsinfo = {}
|
||||
self.network_device = "-device e1000,netdev=net0,mac=@MAC@"
|
||||
|
||||
Reference in New Issue
Block a user