diff mbox series

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

Message ID 20240730062521.26298-2-en-wei.wu@canonical.com
State New
Headers show
Series UBUNTU: [Config] enable LZMA and ZSTD file compressions in EROFS | expand

Commit Message

En-Wei Wu July 30, 2024, 6:25 a.m. UTC
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@canonical.com>
---
 debian.master/config/annotations | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

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'}>