[linux-yocto] [kernel-cache][PATCH] ktypes/developer: Enable CONFIG_KEXEC in config

Bruce Ashfield bruce.ashfield at gmail.com
Thu Jun 1 08:56:23 PDT 2017


On Tue, May 30, 2017 at 11:48 AM, Aníbal Limón <anibal.limon at linux.intel.com
> wrote:

> The oe-core provides kexec-tools recipe, since we don't
> have a manner to enable automatically a kernel feature by
> recipe request, this is the best place to enable it in
> a kernel developer mode.
>

Yah, the separation of kernels, images and distros triggers issues like
this.

To actually make kexec work, you need the right tools, a kexec target
kernel, configuration, etc.
That makes me think that it really should be a distro or image feature, and
from there we could
trigger a KERNEL_FEATURE that pulled this in.

That's more work that this really needs a the moment, so I've merged this
patch as-is.

Bruce


>
> Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>
> ---
>  ktypes/developer/developer.cfg | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/ktypes/developer/developer.cfg b/ktypes/developer/developer.
> cfg
> index ee04ec7..360ca9c 100644
> --- a/ktypes/developer/developer.cfg
> +++ b/ktypes/developer/developer.cfg
> @@ -17,3 +17,9 @@
>  CONFIG_EXPERT=y
>  CONFIG_EMBEDDED=y
>  CONFIG_DEBUG_KERNEL=y
> +
> +#
> +# Enables kexec support because oe-core contains kexec-tools and requires
> +# this support
> +#
> +CONFIG_KEXEC=y
> --
> 2.1.4
>
>


-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/linux-yocto/attachments/20170601/16d76ae6/attachment-0001.html>


More information about the linux-yocto mailing list