]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
runqemu: add erofs filesystem types
authorthomas.witte@liebherr.com <thomas.witte@liebherr.com>
Fri, 19 Sep 2025 10:05:34 +0000 (03:05 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 22 Sep 2025 16:57:07 +0000 (17:57 +0100)
runqemu does not recognize erofs, erofs-lz4, and erofs-lz4hc as filesystem types. Add them to start from an erofs filesystem without needing the full path.

Signed-off-by: Thomas Witte <thomas.witte@liebherr.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu

index c24528eac80ee254e08f7dc3aef147a4bd10d69f..32c7a2aab3b507d9ad16237775106a248cfc8f05 100755 (executable)
@@ -202,7 +202,8 @@ class BaseConfig(object):
                         'jffs2', 'nfs', 'btrfs', 'cpio.gz', 'cpio', 'ramfs',
                         'tar.bz2', 'tar.gz', 'tar.zst',
                         'squashfs', 'squashfs-xz', 'squashfs-lzo',
-                        'squashfs-lz4', 'squashfs-zst')
+                        'squashfs-lz4', 'squashfs-zst',
+                        'erofs', 'erofs-lz4', 'erofs-lz4hc')
         self.vmtypes = ('hddimg', 'iso')
         self.fsinfo = {}
         self.network_device = "-device e1000,netdev=net0,mac=@MAC@"