<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9642</bug_id>
          
          <creation_ts>2016-05-16 18:26:48 +0000</creation_ts>
          <short_desc>devtool doesn&apos;t remove from bblayers the reference to the workspace, after the last recipe is reset</short_desc>
          <delta_ts>2016-05-16 20:41:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Igor Stoppa">igor.stoppa</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62227</commentid>
    <comment_count>0</comment_count>
    <who name="Igor Stoppa">igor.stoppa</who>
    <bug_when>2016-05-16 18:26:48 +0000</bug_when>
    <thetext>Premise
Edit some recipes with devtool (modify, update-ecipe, reset).
Do it so that in the end all hte recipes have been reset.



Action
Remove the workspace from the build directory and rebuild.


Expected outcome
Everything builds fine, using nothing from the workspace.



Actual outcome
Build error, caused by the absence of the layer.conf file from the workspace.

example:

I still had:

BBLAYERS ?= &quot; \
  ${OSTRO_LAYERS} \
  /home/igor/dev/ostro-os/build/workspace \
  &quot;

in bblayers.conf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62228</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-05-16 20:41:05 +0000</bug_when>
    <thetext>The workspace layer is meant to stay in place for the next time you want to use it. Its presence when there are no recipes in it doesn&apos;t affect your build in any way, so there isn&apos;t a material need to delete it or remove it; removing it all the time would likely trigger unnecessary reparsing in any case.

However, should you feel the need to, you can remove it easily with a single command:

bitbake-layers remove-layer workspace</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>