Bug 10484 - devtool: finish command fails if destination layer isn't in bblayers.conf
Summary: devtool: finish command fails if destination layer isn't in bblayers.conf
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.3 M1
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-10-21 22:00 UTC by Henry Bruce
Modified: 2016-11-07 19:18 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
devtool output (2.64 KB, text/plain)
2016-10-21 22:00 UTC, Henry Bruce
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henry Bruce 2016-10-21 22:00:26 UTC
Created attachment 3486 [details]
devtool output

devtool finish fails as follows:

$ devtool add bbexample https://github.com/whbruce/bbexample.git
$ devtool build bbexample
$ yocto-layer create meta-example
$ devtool finish bbexample meta-example
Parsing recipes..done.
NOTE: Updating SRCREV in recipe bbexample_git.bb
NOTE: Moving recipe file to /path/to/build/meta-example/recipes-bbexample/bbexample
NOTE: Cleaning sysroot for recipe bbexample...
ERROR: Command 'bitbake -c clean bbexample' failed, output:
Loading cache...done.
ERROR: No recipes available for:
  /path/to/build/workspace/appends/bbexample_git.bbappend
Loaded 1316 entries from dependency cache.

Full log attached.
Comment 1 Paul Eggleton 2016-10-24 21:58:48 UTC
Discussed this with Henry - the trigger is that the layer wasn't included in bblayers.conf. Normally you'd want to do that, but even so devtool finish should be able to handle this scenario (perhaps we print a warning though so the user doesn't wonder why the recipe has gone "missing").