[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170215212642.10131-2-asbjorn@asbjorn.st>
Date:   Wed, 15 Feb 2017 21:26:42 +0000
From:   Asbjørn Sloth Tønnesen 
        <asbjorn@...jorn.st>
To:     Stephen Hemminger <stephen@...workplumber.org>
Cc:     netdev@...r.kernel.org,
        Asbjørn Sloth Tønnesen 
        <asbjorn@...jorn.st>
Subject: [PATCH iproute2 2/2] testsuite: search for kernel config in /boot
Add support for finding the kernel config in Debian
and derivatives.
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@...jorn.st>
---
 testsuite/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testsuite/Makefile b/testsuite/Makefile
index fc693368..055136b5 100644
--- a/testsuite/Makefile
+++ b/testsuite/Makefile
@@ -17,7 +17,7 @@ ifneq (,$(wildcard /proc/config.gz))
 	KENV := $(shell cat /proc/config.gz | gunzip | grep ^CONFIG)
 else
 KVER := $(shell uname -r)
-KCPATHS := /lib/modules/$(KVER)/config
+KCPATHS := /lib/modules/$(KVER)/config /boot/config-$(KVER)
 KCPATH := $(firstword $(wildcard $(KCPATHS)))
 ifneq (,$(KCPATH))
 	KENV := $(shell cat ${KCPATH} | grep ^CONFIG)
-- 
2.11.0
Powered by blists - more mailing lists
 
