[openwrt/openwrt] build: Config-images: fix unit of partition sizes
LEDE Commits
lede-commits at lists.infradead.org
Sat Jun 19 15:49:18 PDT 2021
adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/04589cb5490be1a4e33e12eb3cbdb97901685002
commit 04589cb5490be1a4e33e12eb3cbdb97901685002
Author: Paul Fertser <fercerpav at gmail.com>
AuthorDate: Wed Jun 16 17:15:59 2021 +0300
build: Config-images: fix unit of partition sizes
The code interprets these config values as Mebibytes rather than
Megabytes so modify the description accordingly.
Signed-off-by: Paul Fertser <fercerpav at gmail.com>
[fix commit title prefix]
Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
config/Config-images.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/config/Config-images.in b/config/Config-images.in
index 26917267cf..715ba21284 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -280,14 +280,14 @@ menu "Target Images"
source "target/linux/*/image/Config.in"
config TARGET_KERNEL_PARTSIZE
- int "Kernel partition size (in MB)"
+ int "Kernel partition size (in MiB)"
depends on USES_BOOT_PART
default 8 if TARGET_apm821xx_sata
default 64 if TARGET_bcm27xx
default 16
config TARGET_ROOTFS_PARTSIZE
- int "Root filesystem partition size (in MB)"
+ int "Root filesystem partition size (in MiB)"
depends on USES_ROOTFS_PART || TARGET_ROOTFS_EXT4FS || TARGET_omap || TARGET_sunxi || TARGET_uml
default 104
help
More information about the lede-commits
mailing list