Bug 1376

Summary: Wrong KERNEL_REVISION_CHECKING value in meta/recipes-kernel/linux/linux-yocto_2.6.37.bb
Product: [Yocto Project Subprojects] Kernel Reporter: Tomasz Gorol <gavian>
Component: kernel-configurationAssignee: Bruce Ashfield <bruce.ashfield>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher, yp.kernel.watcher, yp.watcher
Version: unspecified   
Target Milestone: 1.1 M2   
Hardware: JasperForest   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Tomasz Gorol 2011-08-17 06:42:50 UTC
The value is:
KERNEL_REVISION_CHECKING ?= "t"

Should be:
KERNEL_REVISION_CHECKING ?= "y"

The "meta/classes/kernel-yocto.bbclass" file tests only if length of the  KERNEL_REVISION_CHECKING is non-zero. In this case a value doesn't matter. I think should test for either y or n.
Comment 1 Bruce Ashfield 2011-08-17 06:52:54 UTC
The test for non-zero is intentional. There are multiple different
layers and use cases that are using different values. I don't
control them all, so unifying on y/t isn't important so simply testing
for the existence of this is the easiest way to do this.

There are migration plans for this in the future, so leaving this as
is for now is the best course of action.
Comment 2 Bruce Ashfield 2011-08-17 10:06:19 UTC
changing state. It didn't stick last time.