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: Alan Jenkins <sourcejedi.lkml@googlemail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
parent
d08ca2771e
commit
810b2be656
1 changed files with 4 additions and 0 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue