[bitbake] Add support for erofs image types

Submitted by Richard Weinberger on May 25, 2021, 11:04 a.m. | Patch ID: 179798

Details

Message ID 20210525110429.738-2-richard@nod.at
State New
Headers show

Commit Message

Richard Weinberger May 25, 2021, 11:04 a.m.
Signed-off-by: Richard Weinberger <richard@nod.at>
---
 lib/toaster/orm/models.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/lib/toaster/orm/models.py b/lib/toaster/orm/models.py
index 7f7e922adecc..517774baa0b1 100644
--- a/lib/toaster/orm/models.py
+++ b/lib/toaster/orm/models.py
@@ -968,9 +968,10 @@  class Target_Image_File(models.Model):
         'btrfs', 'container', 'cpio', 'cpio.gz', 'cpio.lz4', 'cpio.lzma',
         'cpio.xz', 'cramfs', 'ext2', 'ext2.bz2', 'ext2.gz', 'ext2.lzma',
         'ext3', 'ext3.gz', 'ext4', 'ext4.gz', 'f2fs', 'hddimg', 'iso', 'jffs2',
-        'jffs2.sum', 'multiubi', 'squashfs', 'squashfs-lz4', 'squashfs-lzo',
-        'squashfs-xz', 'tar', 'tar.bz2', 'tar.gz', 'tar.lz4', 'tar.xz', 'ubi',
-        'ubifs', 'wic', 'wic.bz2', 'wic.gz', 'wic.lzma'
+        'jffs2.sum', 'multiubi', 'erofs', 'erofs-lz4', 'erofs-lz4hc',
+        'squashfs', 'squashfs-lz4', 'squashfs-lzo', 'squashfs-xz', 'tar',
+        'tar.bz2', 'tar.gz', 'tar.lz4', 'tar.xz', 'ubi', 'ubifs', 'wic',
+        'wic.bz2', 'wic.gz', 'wic.lzma'
     }
 
     target = models.ForeignKey(Target, on_delete=models.CASCADE)