[OpenWrt-Devel] [PATCH 1/2] busybox: enable truncate on bcm53xx target

Rafał Miłecki zajec5 at gmail.com
Thu Feb 20 07:40:54 EST 2020


From: Rafał Miłecki <rafal at milecki.pl>

It's needed for optimized sysupgrade. On host machine this change
increased busybox size by 4096 B.

Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 package/utils/busybox/Config-defaults.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/utils/busybox/Config-defaults.in b/package/utils/busybox/Config-defaults.in
index c715e4b993..36731f2b6e 100644
--- a/package/utils/busybox/Config-defaults.in
+++ b/package/utils/busybox/Config-defaults.in
@@ -843,6 +843,7 @@ config BUSYBOX_DEFAULT_TRUE
 	default y
 config BUSYBOX_DEFAULT_TRUNCATE
 	bool
+	default y if TARGET_bcm53xx
 	default n
 config BUSYBOX_DEFAULT_TTY
 	bool
-- 
2.25.0


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list