lkml.org 
[lkml]   [2023]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3] docs: describe how to quickly build a trimmed kernel
From
On 3/6/23 16:07, Thorsten Leemhuis wrote:
>> I think it depends whether someone would pick from /proc/config.gz or
>> /boot/config. My kernel configuration have CONFIG_IKCONFIG=y but I
>> often copy the config from the latter instead, since I booted with
>> arbitrary kernel version when compiling two or three versions, and I
>> want to ensure that the config used is from correct version (i.e.
>> I use /boot/config-5.15.x-string to build 5.15.x+1 kernel).
>
> Well, I'd say for most users the file that was automatically picked up
> by olddefconfig/localmodconfig will be the right one. And for cases like
> yours there is already this in the text:
>
> ```
> The make targets try to find the configuration for your running kernel
> automatically, but might choose poorly. A line like ‘# using defaults
> found in /boot/config-6.0.7-250.fc36.x86_64’ or ‘using config:
> ‘/boot/config-6.0.7-250.fc36.x86_64’ tells you which file they picked.
> If that is not the intended one, simply store it as ‘~/linux/.config’
> before using these make targets.
> ```
>

Ah, I don't see that feature! Thanks anyway.

--
An old man doll... just what I always wanted! - Clara

\
 
 \ /
  Last update: 2023-03-27 00:46    [W:0.053 / U:0.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site