[openwrt/openwrt] iproute2: enable automatic color output by default

LEDE Commits lede-commits at lists.infradead.org
Mon Oct 6 10:09:02 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/2730d1186a0eee7f87d1727f2cfb1ca038ad7dea

commit 2730d1186a0eee7f87d1727f2cfb1ca038ad7dea
Author: George Tsiamasiotis <george at tsiamasiotis.gr>
AuthorDate: Thu Oct 2 22:04:51 2025 +0300

    iproute2: enable automatic color output by default
    
    Support for color output has existed in iproute2 since forever and we
    never compile it out, even in tiny variants. As such, not requiring
    people to constantly add -c to their ip commands is a nice QoL feature.
    
    Signed-off-by: George Tsiamasiotis <george at tsiamasiotis.gr>
    Link: https://github.com/openwrt/openwrt/pull/20281
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 package/network/utils/iproute2/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile
index 8bcbde0c79..6b7dee71c9 100644
--- a/package/network/utils/iproute2/Makefile
+++ b/package/network/utils/iproute2/Makefile
@@ -172,7 +172,8 @@ CONFIGURE_VARS += \
 
 CONFIGURE_ARGS += \
 	--include_dir="$(TOOLCHAIN_ROOT_DIR)/usr/include" \
-	--libbpf_force=$(LIBBPF_FORCE)
+	--libbpf_force=$(LIBBPF_FORCE) \
+	--color=auto
 
 MAKE_FLAGS += \
 	SHARED_LIBS=$(SHARED_LIBS) \




More information about the lede-commits mailing list