From 2918367d62c147e2e193d645ca12b85f594eebcd Mon Sep 17 00:00:00 2001 From: Caesar Wang Date: Thu, 11 Aug 2022 17:23:20 +0800 Subject: [PATCH] arm64/configs: enable CONFIG_SQUASHFS_XZ for rockchip_linux_defconfig This patch enabled CONFIG_SQUASHFS_XZ that includes support for reading Squashfs file systems compressed with XZ compression. XZ gives better compression than the default zlib compression, that enable it on linux platform by default. The snap can't work issue that found on some popular latest llnux OS, as below error log with snap. $snap install hello-world Filesystem uses "xz" compression. This is not supported error: system does not fully support snapd: cannot mount squashfs image using "squashfs": mount: /tmp/sanity-mountpoint-583983220: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error. Signed-off-by: Caesar Wang Change-Id: I54426d8e30ab4d4f9ca2f9477d780d797e56bfce --- arch/arm64/configs/rockchip_linux_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/rockchip_linux_defconfig b/arch/arm64/configs/rockchip_linux_defconfig index facc78b7c0bc..b416d90b88df 100644 --- a/arch/arm64/configs/rockchip_linux_defconfig +++ b/arch/arm64/configs/rockchip_linux_defconfig @@ -550,6 +550,7 @@ CONFIG_JFFS2_FS=y CONFIG_UBIFS_FS=y CONFIG_UBIFS_FS_ADVANCED_COMPR=y CONFIG_SQUASHFS=y +CONFIG_SQUASHFS_XZ=y CONFIG_PSTORE=y CONFIG_PSTORE_CONSOLE=y CONFIG_PSTORE_RAM=y