Skip to contentSkip to conversation

runqemu: Add squashfs filesystem types

PATCH Superseded Logan Gunthorpe 2 participants 3 messages Oct 19, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 runqemu: Add squashfs filesystem types

From: Logan Gunthorpe <[email protected]>

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.

---
 scripts/runqemu | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
scripts/runqemu +3 -1
index 6fca7439a1d2..18aeb7f5f0cf 100755
@@ -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@"

base-commit: f65f100bc5379c3153ee00b2aa62ea5c9a66ec79

Signature · 1 line
2.30.2
#1 lore raw

Hello,

Quoted 8 lines · Logan Gunthorpe via lists.openembedded.org

From: Logan Gunthorpe <[email protected]>

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.

One of the SoB must match your From:

Quoted 34 lines
---
 scripts/runqemu | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
scripts/runqemu +3 -1
index 6fca7439a1d2..18aeb7f5f0cf 100755
@@ -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@"

base-commit: f65f100bc5379c3153ee00b2aa62ea5c9a66ec79

Signature · 11 lines
2.30.2



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#189478): https://lists.openembedded.org/g/openembedded-core/message/189478
Mute This Topic: https://lists.openembedded.org/mt/102065945/3617179
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw
Quoted 5 lines · Alexandre Belloni

Hello,

Quoted 2 lines · Logan Gunthorpe via lists.openembedded.org

From: Logan Gunthorpe <[email protected]>

Quoted 8 lines
Quoted 6 lines

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.

One of the SoB must match your From:

My apologies. I messed that up and didn't notice until after it was sent. I'll resend.

Thanks,

Logan