From 3c54c28371d70f2a3448e7a9a47946079973ef49 Mon Sep 17 00:00:00 2001
From: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Date: Fri, 18 Mar 2022 16:57:39 +0100
Subject: [PATCH] linux: enable CONFIG_SQUASH_ZSTD=y

This is useful for the outer squashfs used to deliver a RAUC update
bundle.  The inner squashfs uses stronger compression. The outer is now
using zstd (since a5437196). Having two layers of strong compression
makes no sense, as it cannot offer any improvements, and is much heavier
on CPU and memory.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
---
 meta-oniro-core/recipes-kernel/linux/linux/squashfs.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oniro-core/recipes-kernel/linux/linux/squashfs.cfg b/meta-oniro-core/recipes-kernel/linux/linux/squashfs.cfg
index 8f067e92..c8d9125a 100644
--- a/meta-oniro-core/recipes-kernel/linux/linux/squashfs.cfg
+++ b/meta-oniro-core/recipes-kernel/linux/linux/squashfs.cfg
@@ -4,3 +4,4 @@
 
 # Root filesystem is by default squashfs
 CONFIG_SQUASHFS=y
+CONFIG_SQUASHFS_ZSTD=y
-- 
GitLab