Problem: Building BusyBox with the def config on modern systems
such as Ubuntu 24.04 fails since "tc" requires a feature recently
removed from the kernel.

Solution: Disable "tc" by default, this is based on the workaround
suggested by Jeff on the mailing list
https://lists.busybox.net/pipermail/busybox/2025-May/091480.html

Signed-off-by: Nir Lichtman <[email protected]>
---
 networking/tc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/networking/tc.c b/networking/tc.c
index 3a79fd2..4747d26 100644
--- a/networking/tc.c
+++ b/networking/tc.c
@@ -8,13 +8,13 @@
  */
 //config:config TC
 //config:      bool "tc (8.3 kb)"
-//config:      default y
+//config:      default n
 //config:      help
 //config:      Show / manipulate traffic control settings
 //config:
 //config:config FEATURE_TC_INGRESS
 //config:      bool "Enable ingress"
-//config:      default y
+//config:      default n
 //config:      depends on TC
 
 //applet:IF_TC(APPLET(tc, BB_DIR_SBIN, BB_SUID_DROP))
-- 
2.39.5

_______________________________________________
busybox mailing list
[email protected]
https://lists.busybox.net/mailman/listinfo/busybox

Reply via email to