[openwrt/openwrt] build: images: squashfs: add help, fix description

LEDE Commits lede-commits at lists.infradead.org
Tue Dec 6 14:12:18 PST 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/6cee46def01a0d51d1fb003d92e0840f87aa8822

commit 6cee46def01a0d51d1fb003d92e0840f87aa8822
Author: Tony Butler <spudz76 at gmail.com>
AuthorDate: Mon Nov 28 04:00:02 2022 -0800

    build: images: squashfs: add help, fix description
    
    add help text for `TARGET_SQUASHFS_BLOCK_SIZE` to match the only valid
    settings accepted by `mksquashfs4` ("block size not power of two or not
    between 4096 and 1Mbyte") thus for this setting in "KB", the set:
      `4, 8, 16, 32, 64, 128, 256, 512, 1024`
    
    replace `squashfs-lzma` with `squashfs` in the description for
    `TARGET_ROOTFS_SQUASHFS` because it has various compressions, and not
    just lzma as it did in the past
    
    cosmetic change with no functional effect
    
    Signed-off-by: Tony Butler <spudz76 at gmail.com>
---
 config/Config-images.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/config/Config-images.in b/config/Config-images.in
index aa23876259..0252ef6425 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -150,7 +150,7 @@ menu "Target Images"
 		bool "squashfs"
 		default y if USES_SQUASHFS
 		help
-		  Build a squashfs-lzma root filesystem.
+		  Build a squashfs root filesystem.
 
 		config TARGET_SQUASHFS_BLOCK_SIZE
 			int "Block size (in KiB)"
@@ -158,6 +158,9 @@ menu "Target Images"
 			default 64 if LOW_MEMORY_FOOTPRINT
 			default 1024 if (SMALL_FLASH && !LOW_MEMORY_FOOTPRINT)
 			default 256
+			help
+			  Select squashfs block size, must be one of:
+			    4, 8, 16, 32, 64, 128, 256, 512, 1024
 
 	menuconfig TARGET_ROOTFS_UBIFS
 		bool "ubifs"




More information about the lede-commits mailing list