[SRU][Kinetic, Unstable][PATCH] UBUNTU: [Config] Disable selftests/net/bpf/nat6to4

Kamal Mostafa kamal at canonical.com
Mon Nov 14 21:18:57 UTC 2022


BugLink: https://bugs.launchpad.net/bugs/1996536

This mainline bpf selftest (nat6to4) requires additional package
dependencies not satisfied by the Ubuntu kernel Build-depends and
unsatisfiable when cross compilers are installed.  Disable it to allow
the rest of selftests/ to build.

Signed-off-by: Kamal Mostafa <kamal at canonical.com>
---
 tools/testing/selftests/net/bpf/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/testing/selftests/net/bpf/Makefile b/tools/testing/selftests/net/bpf/Makefile
index 8ccaf8732eb2..7d8eddd327b7 100644
--- a/tools/testing/selftests/net/bpf/Makefile
+++ b/tools/testing/selftests/net/bpf/Makefile
@@ -5,7 +5,8 @@ CCINCLUDE += -I../../bpf
 CCINCLUDE += -I../../../../lib
 CCINCLUDE += -I../../../../../usr/include/
 
-TEST_CUSTOM_PROGS = $(OUTPUT)/bpf/nat6to4.o
+TEST_CUSTOM_PROGS = \
+	# $(OUTPUT)/bpf/nat6to4.o # Disabled for Ubuntu selftests build
 all: $(TEST_CUSTOM_PROGS)
 
 $(OUTPUT)/%.o: %.c
-- 
2.25.1




More information about the kernel-team mailing list