[UNSTABLE][IMPISH][PATCH] UBUNTU: [Config] enforce ZSTD compression

Dimitri John Ledkov dimitri.ledkov at canonical.com
Tue Aug 24 15:32:03 UTC 2021


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

Previously v5.13+ based kernels enabled ZSTD kernel image compression
on amd64 & s390x. Due to significant bootspeed impact this change
should be enforced for all derivatives as well. Not all derivatives
currently inherit and enforce all annotations from parent config.

Fixes: f88bdfaeaf ("UBUNTU: [Packaging] use ZSTD to compress s390 kernels")
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov at canonical.com>
---
 debian.master/config/annotations | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian.master/config/annotations b/debian.master/config/annotations
index 22d07b3661..c9c451e95f 100644
--- a/debian.master/config/annotations
+++ b/debian.master/config/annotations
@@ -11371,6 +11371,8 @@ CONFIG_KERNEL_LZO                               policy<{'amd64': 'n', 'armhf': '
 CONFIG_KERNEL_LZ4                               policy<{'amd64': 'n', 'armhf': 'n', 's390x': 'n'}>
 CONFIG_KERNEL_ZSTD                              policy<{'amd64': 'y', 's390x': 'y'}>
 CONFIG_KERNEL_UNCOMPRESSED                      policy<{'s390x': 'n'}>
+#
+CONFIG_KERNEL_ZSTD                              mark<ENFORCED> note<LP:#1931725>
 
 # Menu: General setup >> Namespaces support
 CONFIG_NAMESPACES                               policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 's390x': 'y'}>
-- 
2.30.2




More information about the kernel-team mailing list