Bug 7531

Summary: Createme command not found during build
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mihail Stanciu <stanciux.mihail>
Component: coreAssignee: Ross Burton <ross.burton>
Status: VERIFIED FIXED QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: normal    
Priority: Medium+ CC: bruce.ashfield, meta.mr.watcher, meta.watcher, richard.purdie
Version: unspecified   
Target Milestone: 1.8 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mihail Stanciu 2015-03-27 13:35:28 UTC
Tested on 1.8_M4 RC1: 8b3d3e7c957ad06c390886487f69aeb8e145da6a

While running tests on our CentOS AB, we found the following error:

| DEBUG: Executing shell function do_kernel_metadata
| /home/autobuilder/yocto-autobuilder/yocto-worker/nightly-world/build/build/tmp/work/qemux86-poky-linux/linux-yocto/3.19.2+gitAUTOINC+9e70b482d3_31b35da6a5-r0/temp/run.do_kernel_metadata.25242: line 165: createme: command not found
| ERROR: Could not create standard/common-pc
Comment 1 Richard Purdie 2015-03-27 13:41:39 UTC
Likely a missing inux-yocto.inc:

do_kernel_metadata[depends] = "kern-tools-native:do_populate_sysroot"
Comment 2 Bruce Ashfield 2015-03-27 13:52:37 UTC
That looks like the right thing. I though that the normal DEPENDS would take care
of that, but that's just me not having a complete picture of what actual task the
DEPENDS sets as the dependency.

I can fix it here, unless there's already something in flight.
Comment 3 Richard Purdie 2015-03-27 15:29:20 UTC
Nothing in flight yet. DEPENDS covers do_configure and above which is 99% of the usual use cases but doesn't cover tasks which happen before configure or in this case patch.
Comment 4 Ross Burton 2015-03-27 15:37:56 UTC
I've sent a patch to the list, let's see if Bruce says it's good.
Comment 6 Mihail Stanciu 2015-04-08 14:24:06 UTC
Has not reappeared on 1.8 M4 RC2: 33558eacc8a2d3dce3396b9ab2fd0773ac5076bc

Marking as verified.