diff mbox series

runqemu: add erofs filesystem types

Message ID EO41.1758276334990613454.zGhU@lists.openembedded.org
State New
Headers show
Series runqemu: add erofs filesystem types | expand

Commit Message

thomas.witte@liebherr.com Sept. 19, 2025, 10:05 a.m. UTC
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>
---
 scripts/runqemu | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/scripts/runqemu b/scripts/runqemu
index c24528eac8..32c7a2aab3 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -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@"