]> code.ossystems Code Review - openembedded-core.git/commit
Add support for erofs filesystems
authorRichard Weinberger <richard@nod.at>
Tue, 25 May 2021 11:29:51 +0000 (13:29 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 31 May 2021 13:29:39 +0000 (14:29 +0100)
commit41dead1ff8ccc49e6cd6e6f5d41a59d164693e0d
tree8e6400314d7d95834f1dce76a886904af41476a2
parent7beaae812f55a43797a459f3ad25f1be121bdbe1
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

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image_types.bbclass
meta/conf/distro/include/maintainers.inc
meta/recipes-devtools/erofs-utils/erofs-utils_1.2.1.bb [new file with mode: 0644]
scripts/lib/wic/help.py
scripts/lib/wic/ksparser.py
scripts/lib/wic/partition.py
scripts/lib/wic/plugins/source/rawcopy.py