[U/O][PATCH 1/1] UBUNTU: [Config] enable LZMA and ZSTD file compressions in EROFS

En-Wei Wu en-wei.wu at canonical.com
Tue Jul 30 06:25:21 UTC 2024


BugLink: https://bugs.launchpad.net/bugs/2074049

EROFS supports transparent file compression based on LZMA
and ZSTD compressions. LZMA offers a high compression ratio, 
and ZSTD on the other way offers a balance between compression
ratio and speed.

Enable them as kernel default.

Signed-off-by: En-Wei Wu <en-wei.wu at canonical.com>
---
 debian.master/config/annotations | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian.master/config/annotations b/debian.master/config/annotations
index 702fca42e937..7976787d96f0 100644
--- a/debian.master/config/annotations
+++ b/debian.master/config/annotations
@@ -4796,7 +4796,8 @@ CONFIG_EROFS_FS_SECURITY                        policy<{'amd64': 'y', 'arm64': '
 CONFIG_EROFS_FS_XATTR                           policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'y'}>
 CONFIG_EROFS_FS_ZIP                             policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'y'}>
 CONFIG_EROFS_FS_ZIP_DEFLATE                     policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'y'}>
-CONFIG_EROFS_FS_ZIP_LZMA                        policy<{'amd64': 'n', 'arm64': 'n', 'armhf': 'n', 'ppc64el': 'n', 'riscv64': 'n', 's390x': 'n'}>
+CONFIG_EROFS_FS_ZIP_LZMA                        policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'y'}>
+CONFIG_EROFS_FS_ZIP_ZSTD                        policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'y'}>
 CONFIG_ERRATA_ANDES                             policy<{'riscv64': 'y'}>
 CONFIG_ERRATA_SIFIVE                            policy<{'riscv64': 'y'}>
 CONFIG_ERRATA_SIFIVE_CIP_1200                   policy<{'riscv64': 'y'}>
-- 
2.43.0




More information about the kernel-team mailing list