Skip to content

kern-tools: error if features are not found

Bruce Ashfield openembedded-core poky 1 version Applied

Status from this message: Merged into oe-core and master.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1kern-tools: error if features are not foundmeta/recipes-kernel/kern-tools/kern-tools-native_git.bb+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] kern-tools: error if features are not found

Richard/Saul,

I'll repeat the patch contents here, since they explain the change

---->---->---->---->---->---->
Fixes bug: [YOCTO #955]

Updating the SRCREV to pickup the kern-tools change:

[
updateme: error if features are not found

Rather than silently dropping addon features, we emit a warning and then exit with a failure code. The caller can then abort a build and not simply miss features.

Passing --no-strict to the script disables this new functionality if for some reason a feature description is missing on purpose.
]
---->---->---->---->---->---->

This takes care of one thing we hit during 1.0 development, and provides a clear message about features that are not part of the kernel being built.

In a test of a forced invalid feature, the output is:

| WARNING: addon feature "cfg/non-exisistent" was not found | ERROR: required features were not found. aborting

.. and the build stops.

Thanks,
Bruce Ashfield <[email protected]>

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: zedd/kernel
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel

---

Bruce Ashfield (1):
kern-tools: error if features are not found

 .../kern-tools/kern-tools-native_git.bb            |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)