<?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>12387</bug_id>
          
          <creation_ts>2017-11-29 16:36:35 +0000</creation_ts>
          <short_desc>BBMASK is ignored for populate_sdk_ext</short_desc>
          <delta_ts>2018-04-18 15:48:26 +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>meta-yocto</component>
          <version>2.3.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nathan Illerbrun">nathani.pub</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>stephano</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78401</commentid>
    <comment_count>0</comment_count>
    <who name="Nathan Illerbrun">nathani.pub</who>
    <bug_when>2017-11-29 16:36:35 +0000</bug_when>
    <thetext>BBMASK is ignored for populate_sdk_ext

SDK_LOCAL_CONF_WHITELIST += &quot; BBMASK&quot; 
does not whitelist BBMASK

SDK_LAYERS_EXCLUDE += &quot; /meta-example/recipe-to-exclue/&quot;
does not exclude recipe either

Steps to reproduce:
1. https://boundarydevices.com/pyro-yocto-release/
2. Remove &apos;meta-qt5&apos; directory
3. Remove &apos;${BSPDIR}/sources/meta-qt5&apos; line from bblayers.conf
4. Add &apos;BBMASK += &quot; ${BSPDIR}/sources/meta-boundary/recipes-qtbrowser&quot;&apos; to bblayers.conf
5. # bitbake -c populate_sdk_ext populate_sdk_ext
6. Try above methods to exclude recipes-qtbrowser
7. Try additional methods that I am not aware of
8. Delete &apos;/meta-boundary/recipes-qtbrowser&apos; directory and see that populate_sdk_ext succeeds. 

Changing the SDK_EXT_TYPE to &apos;minimal&apos; allows the eSDK to be built, but there doesn&apos;t seem to be a method currently to exclude recipes from the &apos;full&apos; eSDK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78405</commentid>
    <comment_count>1</comment_count>
    <who name="Nathan Illerbrun">nathani.pub</who>
    <bug_when>2017-11-29 16:51:57 +0000</bug_when>
    <thetext>edit: 
5. # bitbake -c populate_sdk_ext core-image-minimal</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79309</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2018-02-02 00:05:26 +0000</bug_when>
    <thetext>Sorry I didn&apos;t have a chance to look into this until now.

The issue here is that BBMASK *and* BSPDIR are being eliminated in the eSDK configuration because we haven&apos;t allowed for additional variables to be set in bblayers.conf there - we create a brand new file from scratch. However, since BBMASK is a regex and will match anywhere, you can work around that by using this instead:

BBMASK += &quot; meta-boundary/recipes-qtbrowser&quot;

I&apos;m not entirely sure we can fix this so that the original value will work. Even if we adjusted bblayers.conf handling such that BSPDIR were allowed through, its value would be incorrect within the eSDK unless you also set it outright. We may need to document this issue somewhere so that people understand the limitation and how to work around it, however, and we could potentially detect and warn when additional variables were being set in bblayers.conf.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79319</commentid>
    <comment_count>3</comment_count>
    <who name="Nathan Illerbrun">nathani.pub</who>
    <bug_when>2018-02-02 18:38:25 +0000</bug_when>
    <thetext>Hi Paul, thanks for looking into that. I can confirm it works now that I&apos;ve removed the variables from BBMASK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80303</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2018-04-18 15:48:26 +0000</bug_when>
    <thetext>Good to hear you got past this.

As per above I think we have to mark this as WONTFIX since it isn&apos;t really practical to fix.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>