<?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>4743</bug_id>
          
          <creation_ts>2013-06-18 09:09:59 +0000</creation_ts>
          <short_desc>yocto-kernel tool fails when config BBLAYERS behind BBLAYERS_NON_REMOVABLE in bblayers.conf</short_desc>
          <delta_ts>2013-07-09 15:22:00 +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>Meta-yocto</product>
          <component>configuration</component>
          <version>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ning Zhang">ning.zhang</reporter>
          <assigned_to name="Tom Zanussi">tom.zanussi</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>ke.zou</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>33952</commentid>
    <comment_count>0</comment_count>
    <who name="Ning Zhang">ning.zhang</who>
    <bug_when>2013-06-18 09:09:59 +0000</bug_when>
    <thetext>poky: master: 1dd643b142c69ac9035e29bff11d02201638dc65

steps:
1. create a new bsp layer.
   yocto-bsp create myqemux86 qemu  (with all default options)
2. add &quot;meta-myqemux86&quot; to conf/bblayers.conf, such as below:
BBLAYERS ?= &quot; \
  /home/yocto/poky/meta \
  /home/yocto/poky/meta-yocto \
  /home/yocto/poky/meta-yocto-bsp \
  /home/yocto/20130618/meta-myqemux86 \
&quot;

BBLAYERS_NON_REMOVABLE ?= &quot; \
  /home/yocto/poky/meta \
  /home/yocto/poky/meta-yocto \
  &quot;

3. input &quot;yocto-kernel config add myqemux86 CONFIG_MISC_DEVICES=y&quot; to add a new configuration, it pass.

But, if in step2, set BBLAYERS behind BBLAYERS_NON_REMOVABLE, then step3 will fail.

conf/bblayers.conf

BBLAYERS_NON_REMOVABLE ?= &quot; \
  /home/yocto/poky/meta \
  /home/yocto/poky/meta-yocto \
  &quot;

BBLAYERS ?= &quot; \
  /home/yocto/poky/meta \
  /home/yocto/poky/meta-yocto \
  /home/yocto/poky/meta-yocto-bsp \
  /home/yocto/20130618/meta-myqemux86 \
&quot;

execute: &quot;yocto-kernel config add myqemux86 CONFIG_MISC_DEVICES=y&quot;
result is:
Unable to find the BSP layer for machine myqemux86.
Please make sure it is listed in bblayers.conf

I think since this is a config file, there should not be any dependance between different parameters.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34316</commentid>
    <comment_count>1</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2013-07-03 20:16:30 +0000</bug_when>
    <thetext>Posted to poky mailing list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34431</commentid>
    <comment_count>2</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2013-07-09 15:22:00 +0000</bug_when>
    <thetext>Fixed in poky/master:

f8c8c7d78aa8a65b8e6466d4dab419b1d608e026

Fixed in poky/dylan:

2d79d0488528d31159d5f2ede088e80f30d22559</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>