diff options
author | Richard Weinberger <richard@nod.at> | 2021-05-25 13:29:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-31 14:31:01 +0100 |
commit | 63b3c44d273d03fe3ac98d6f7c8e8475b468b44e (patch) | |
tree | c5146ab07d46bd7958ebf3790ba115ed948614be /meta/recipes-devtools | |
parent | 40d3366bea8d2417e89a37c6f2d38e1542160342 (diff) | |
download | poky-63b3c44d273d03fe3ac98d6f7c8e8475b468b44e.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/erofs-utils/erofs-utils_1.2.1.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-devtools/erofs-utils/erofs-utils_1.2.1.bb b/meta/recipes-devtools/erofs-utils/erofs-utils_1.2.1.bb new file mode 100644 index 0000000000..6435fea68c --- /dev/null +++ b/meta/recipes-devtools/erofs-utils/erofs-utils_1.2.1.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "Tools for erofs filesystems" | ||
2 | LICENSE = "GPLv2+" | ||
3 | SECTION = "base" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=94fa01670a2a8f2d3ab2de15004e0848" | ||
5 | HOMEPAGE = "https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/tree/README" | ||
6 | |||
7 | SRCREV = "d1f4953edfcf4f51c71ba91586e21fc6ce9f6db9" | ||
8 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | DEPENDS = "util-linux-libuuid" | ||
13 | |||
14 | inherit pkgconfig autotools | ||
15 | |||
16 | PACKAGECONFIG ??= "lz4" | ||
17 | PACKAGECONFIG[lz4] = "--enable-lz4,--disable-lz4,lz4" | ||
18 | |||
19 | EXTRA_OECONF = "${PACKAGECONFIG_CONFARGS} --disable-fuse" | ||
20 | |||
21 | BBCLASSEXTEND = "native nativesdk" | ||