diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2023-10-19 15:05:15 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-23 10:49:19 +0100 |
commit | 91acd29313f714022b0f72c11612d82769e59324 (patch) | |
tree | 884b6d118964e68cf4f5396b58ffd5cb833f6f7b /scripts/runqemu | |
parent | 2d052d72f96e7956f44f9ea404c28827a7691521 (diff) | |
download | poky-91acd29313f714022b0f72c11612d82769e59324.tar.gz |
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>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 6fca7439a1..18aeb7f5f0 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -198,7 +198,9 @@ class BaseConfig(object): | |||
198 | self.snapshot = False | 198 | self.snapshot = False |
199 | self.wictypes = ('wic', 'wic.vmdk', 'wic.qcow2', 'wic.vdi', "wic.vhd", "wic.vhdx") | 199 | self.wictypes = ('wic', 'wic.vmdk', 'wic.qcow2', 'wic.vdi', "wic.vhd", "wic.vhdx") |
200 | self.fstypes = ('ext2', 'ext3', 'ext4', 'jffs2', 'nfs', 'btrfs', | 200 | self.fstypes = ('ext2', 'ext3', 'ext4', 'jffs2', 'nfs', 'btrfs', |
201 | 'cpio.gz', 'cpio', 'ramfs', 'tar.bz2', 'tar.gz') | 201 | 'cpio.gz', 'cpio', 'ramfs', 'tar.bz2', 'tar.gz', |
202 | 'squashfs', 'squashfs-xz', 'squashfs-lzo', | ||
203 | 'squashfs-lz4', 'squashfs-zst') | ||
202 | self.vmtypes = ('hddimg', 'iso') | 204 | self.vmtypes = ('hddimg', 'iso') |
203 | self.fsinfo = {} | 205 | self.fsinfo = {} |
204 | self.network_device = "-device e1000,netdev=net0,mac=@MAC@" | 206 | self.network_device = "-device e1000,netdev=net0,mac=@MAC@" |