Bug 11878 - kernel tools (spp) should fail if only KTYPE matches
Summary: kernel tools (spp) should fail if only KTYPE matches
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: kernel (show other bugs)
Version: 2.3.2
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.4 M4
Assignee: Bruce Ashfield
QA Contact:
URL:
Whiteboard:
: 11333 (view as bug list)
Depends on:
Blocks: 11333
  Show dependency tree
 
Reported: 2017-07-31 21:55 UTC by Saul Wold
Modified: 2017-08-29 12:45 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Unknown (Hard to categorize)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Saul Wold 2017-07-31 21:55:07 UTC
The spp kernel tool seems to match a single item KTYPE instead of both KTYPE and KMACHINE. This causes wrong meta-data to be selected when no matching KMACHINE BSP is in the yocto kernel metadata (cache).

It will return the KTYPE match and thus cause bad setting to possibly be set for the kernel config.
Comment 1 Bruce Ashfield 2017-08-01 02:10:48 UTC
Agreed. And this used to be the case, I'll have a look at what caused this regression.
Comment 2 Bruce Ashfield 2017-08-15 14:15:49 UTC
I'm doing the 4.12 kernel for m3, so moving this to m4 as a bug fix.
Comment 3 Bruce Ashfield 2017-08-16 00:51:04 UTC
*** Bug 11333 has been marked as a duplicate of this bug. ***