Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 810b2be6 authored by Steven Rostedt's avatar Steven Rostedt Committed by Steven Rostedt
Browse files

kconfig: test for /boot/config-uname after /proc/config.gz in localconfig



Many distros put their config in /boot/config-`uname -r`, add a check
for that right after /proc/config.gz

Reported-by: default avatarAlan Jenkins <sourcejedi.lkml@googlemail.com>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent d08ca277
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -53,6 +53,10 @@ my @searchconfigs = (
	    "file" => "/proc/config.gz",
	    "file" => "/proc/config.gz",
	    "exec" => "zcat",
	    "exec" => "zcat",
	},
	},
	{
	    "file" => "/boot/config-$uname",
	    "exec" => "cat",
	},
	{
	{
	    "file" => "/boot/vmlinuz-$uname",
	    "file" => "/boot/vmlinuz-$uname",
	    "exec" => "scripts/extract-ikconfig",
	    "exec" => "scripts/extract-ikconfig",