<?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>12023</bug_id>
          
          <creation_ts>2017-08-31 23:45:31 +0000</creation_ts>
          <short_desc>&quot;bitbake-layers show-layers&quot; doesn&apos;t show layer if it doesn&apos;t append itself to BBFILE_COLLECTIONS</short_desc>
          <delta_ts>2021-08-17 04:05:56 +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>BitBake</product>
          <component>bitbake</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>Medium+</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>3.4 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>caio.oliveira</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>caio.oliveira</cc>
    
    <cc>jay.shen.teoh</cc>
    
    <cc>mshah</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>rebecca.swee.fun.chang</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>76431</commentid>
    <comment_count>0</comment_count>
    <who name="">caio.oliveira</who>
    <bug_when>2017-08-31 23:45:31 +0000</bug_when>
    <thetext>If I create a layer with recipes, but without adding BBFILE_COLLECTIONS (and a corresponding BBFILE_PATTERN_name), bitbake -s shows the recipes as expected, but &quot;bitbake-layers show-layers&quot; do not show the layers. &quot;bitbake show-recipes&quot; shows the recipes but with a layer as &quot;?&quot;.

I&apos;m a bit unsure whether this is expected behavior or not.

Tested with git at &quot;main: Attempt to gain bitbake.lock rather than just waiting&quot; 8a60106c6f7d586c793b965c5e9460b6016fab15.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77884</commentid>
    <comment_count>1</comment_count>
    <who name="Rebecca Chang">rebecca.swee.fun.chang</who>
    <bug_when>2017-10-31 06:27:12 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; If I create a layer with recipes, but without adding BBFILE_COLLECTIONS (and
&gt; a corresponding BBFILE_PATTERN_name), bitbake -s shows the recipes as
&gt; expected, but &quot;bitbake-layers show-layers&quot; do not show the layers. &quot;bitbake
&gt; show-recipes&quot; shows the recipes but with a layer as &quot;?&quot;.
&gt; 
&gt; I&apos;m a bit unsure whether this is expected behavior or not.
&gt; 
&gt; Tested with git at &quot;main: Attempt to gain bitbake.lock rather than just
&gt; waiting&quot; 8a60106c6f7d586c793b965c5e9460b6016fab15.

Ideally, it is recommended to use bitbake-layers command to create a layer. It will help you to populate all the required configurations that you will need in your meta layer layer.conf file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89893</commentid>
    <comment_count>2</comment_count>
    <who name="">mshah</who>
    <bug_when>2021-04-08 05:16:26 +0000</bug_when>
    <thetext>Is there any work to do for this bug?

-- Milan Shah</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91191</commentid>
    <comment_count>3</comment_count>
    <who name="Teoh Jay Shen">jay.shen.teoh</who>
    <bug_when>2021-08-17 04:05:56 +0000</bug_when>
    <thetext>Seems like there&apos;s no workaround for this issue. Developers are recommended to use bitbake-layers command to create a new layer with a basic directory structure to avoid any unexpected behavior.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>