All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH iproute2 1/2] testsuite: refactor kernel config search
@ 2017-02-15 21:26 Asbjørn Sloth Tønnesen
  2017-02-15 21:26 ` [PATCH iproute2 2/2] testsuite: search for kernel config in /boot Asbjørn Sloth Tønnesen
  2017-02-19  0:10 ` [PATCH iproute2 1/2] testsuite: refactor kernel config search Stephen Hemminger
  0 siblings, 2 replies; 3+ messages in thread
From: Asbjørn Sloth Tønnesen @ 2017-02-15 21:26 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev, Asbjørn Sloth Tønnesen

Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.st>
---
 testsuite/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/testsuite/Makefile b/testsuite/Makefile
index 50a7bafa..fc693368 100644
--- a/testsuite/Makefile
+++ b/testsuite/Makefile
@@ -17,8 +17,9 @@ ifneq (,$(wildcard /proc/config.gz))
 	KENV := $(shell cat /proc/config.gz | gunzip | grep ^CONFIG)
 else
 KVER := $(shell uname -r)
-KCPATH := /lib/modules/${KVER}/config
-ifneq (,$(wildcard ${KCPATH}))
+KCPATHS := /lib/modules/$(KVER)/config
+KCPATH := $(firstword $(wildcard $(KCPATHS)))
+ifneq (,$(KCPATH))
 	KENV := $(shell cat ${KCPATH} | grep ^CONFIG)
 endif
 endif
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH iproute2 2/2] testsuite: search for kernel config in /boot
  2017-02-15 21:26 [PATCH iproute2 1/2] testsuite: refactor kernel config search Asbjørn Sloth Tønnesen
@ 2017-02-15 21:26 ` Asbjørn Sloth Tønnesen
  2017-02-19  0:10 ` [PATCH iproute2 1/2] testsuite: refactor kernel config search Stephen Hemminger
  1 sibling, 0 replies; 3+ messages in thread
From: Asbjørn Sloth Tønnesen @ 2017-02-15 21:26 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev, Asbjørn Sloth Tønnesen

Add support for finding the kernel config in Debian
and derivatives.

Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH iproute2 1/2] testsuite: refactor kernel config search
  2017-02-15 21:26 [PATCH iproute2 1/2] testsuite: refactor kernel config search Asbjørn Sloth Tønnesen
  2017-02-15 21:26 ` [PATCH iproute2 2/2] testsuite: search for kernel config in /boot Asbjørn Sloth Tønnesen
@ 2017-02-19  0:10 ` Stephen Hemminger
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Hemminger @ 2017-02-19  0:10 UTC (permalink / raw)
  To: Asbjørn Sloth Tønnesen; +Cc: netdev

On Wed, 15 Feb 2017 21:26:41 +0000
Asbjørn Sloth Tønnesen <asbjorn@asbjorn.st> wrote:

> Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.st>

Both applied thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-19  0:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-15 21:26 [PATCH iproute2 1/2] testsuite: refactor kernel config search Asbjørn Sloth Tønnesen
2017-02-15 21:26 ` [PATCH iproute2 2/2] testsuite: search for kernel config in /boot Asbjørn Sloth Tønnesen
2017-02-19  0:10 ` [PATCH iproute2 1/2] testsuite: refactor kernel config search Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.