poky/scripts/lib/wic
Richard Weinberger 63b3c44d27 Add support for erofs filesystems
Since Linux 5.4 a new read-only filesystem is available, erofs.
Compared to squashfs it offers much better read performance with and
without compression enabled.
It suppports two optional compressors, lz4 and lz4hc.

>From the mkfs.erofs man page:
EROFS is a new enhanced lightweight linux read-only filesystem with
modern designs (eg. no buffer head, reduced metadata, inline
xattrs/data, etc.) for scenarios which need high-performance read-only
requirements, e.g. Android OS for smartphones and LIVECDs.
It also provides fixed-sized output compression support, which improves
storage density, keeps relatively higher compression ratios, which is
more useful to achieve high performance for embedded devices with
limited  memory since it has unnoticable memory overhead and page cache
thrashing.

This commit adds support for three new filesystem targets:
erofs: erofs without compression
erofs-lz4: erofs with lz4 compresssion enabled
erofs-lz4hc: erofs with lz4hc compression enabled

(From OE-Core rev: 41dead1ff8ccc49e6cd6e6f5d41a59d164693e0d)

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
..
canned-wks wic: Warn if an ext filesystem affected by the Y2038 problem is used 2021-02-26 15:21:21 +00:00
plugins Add support for erofs filesystems 2021-05-31 14:31:01 +01:00
__init__.py wic: python2 -> python3 2019-06-30 22:40:52 +01:00
engine.py wic: use Filesystem UUID when expand swap partition 2020-04-26 14:00:50 +01:00
filemap.py wic/filemap: Fall back to standard copy when no way to get the block map 2020-07-18 11:06:31 +01:00
help.py Add support for erofs filesystems 2021-05-31 14:31:01 +01:00
ksparser.py Add support for erofs filesystems 2021-05-31 14:31:01 +01:00
misc.py wic: Warn if an ext filesystem affected by the Y2038 problem is used 2021-02-26 15:21:21 +00:00
partition.py Add support for erofs filesystems 2021-05-31 14:31:01 +01:00
pluginbase.py wic: align layer plugin path 2020-04-02 15:24:59 +01:00