<?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>11677</bug_id>
          
          <creation_ts>2017-06-15 23:37:03 +0000</creation_ts>
          <short_desc>eSDK: add layer management functionality</short_desc>
          <delta_ts>2025-07-03 15:32:51 +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>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard> </status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          <dependson>12167</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henry Bruce">henry.bruce</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>brian.avery</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>matthew.k.hansen</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>74261</commentid>
    <comment_count>0</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2017-06-15 23:37:03 +0000</bug_when>
    <thetext>A key part of the devtool enabled workflow is creating new recipes. Often such recipes are added to a new layer that is specific to the project they serve. It would simplify the workflow if devtool could create a layer, rather expecting the developer to do that manually or use yocto-layer command (unlikely as it is not well publicized).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74331</commentid>
    <comment_count>1</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2017-06-19 16:45:16 +0000</bug_when>
    <thetext>also support add/remove layers as done by &apos;bitbake-layers&apos; command. This appears to work in eSDK but is not in the path (layers/build/bitbake/bin) as bitbake is deliberately hidden from user.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77310</commentid>
    <comment_count>2</comment_count>
    <who name="brian avery">brian.avery</who>
    <bug_when>2017-10-03 17:56:59 +0000</bug_when>
    <thetext>So, I&apos;m not a fan of adding tons of new devtool commands for something that can be done directly by existing tools.  For me, the devtool indirection just gets in the way when things go wrong.

That being said, I&apos;d like to change the title of this to something like &quot;Support bitbake-layers in the esdk&quot;. Right now, we cannot make a new layer from the esdk. If I do a devtool modify, followed by a devtool finish, I need a layer for the changes to land in. 

I can (right now) run yocto-layer directly from the esdk since I know where it lives, but it is not on the path by default.

bitbake-layers (which is likely to be the only layer creation in the future Bug 12167) cannot be run directly w/o some additional work. 

This comment proposes to change the title to  &quot;Support bitbake-layers in the esdk&quot;. and to make botbake-layers be on the path for an esdk.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77361</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2017-10-04 21:10:41 +0000</bug_when>
    <thetext>I&apos;m renaming this bug to more accurately represent what we want to do. I think at the same time I think ideally we shouldn&apos;t be exporting something with &quot;bitbake&quot; in the name, so we might take this opportunity to rename bitbake-layers to bblayers or layertool or something like that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77883</commentid>
    <comment_count>4</comment_count>
    <who name="Rebecca Chang">rebecca.swee.fun.chang</who>
    <bug_when>2017-10-31 06:24:31 +0000</bug_when>
    <thetext>Just jotting down my assessment on this bug so I could remind myself when I start to work on it.
Before we could start adding layer management functionality to eSDK. There are dependencies to resolve.

1. https://bugzilla.yoctoproject.org/show_bug.cgi?id=12167
Removing yocto-layer and use bitbake-layers.

2. Remove yocto-layer support from eSDK.

3. Rename bitbake-layers to bblayers or layertool or something like that.
Required decision to fix the command naming convention. I would vote +1 for layertool.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80090</commentid>
    <comment_count>5</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2018-04-04 07:33:15 +0000</bug_when>
    <thetext>target milestone 2.99? does future now means 2.99?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80094</commentid>
    <comment_count>6</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2018-04-04 13:40:31 +0000</bug_when>
    <thetext>See here: https://www.mail-archive.com/linux-yocto@yoctoproject.org/msg06283.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95856</commentid>
    <comment_count>7</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-06-29 16:38:25 +0000</bug_when>
    <thetext>Still worth doing when we have the people available. -- YP bug review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102399</commentid>
    <comment_count>8</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-07-03 15:32:51 +0000</bug_when>
    <thetext>Still worth doing when we have the people available. -- YP bug review.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>