<?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>10568</bug_id>
          
          <creation_ts>2016-11-01 20:33:04 +0000</creation_ts>
          <short_desc>Extensible SDK: TEMPLATECONF value causes failures if poky repo is used without meta-poky</short_desc>
          <delta_ts>2016-11-08 17:27:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>eSDK</product>
          <component>eSDK</component>
          <version>unspecified</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>2.3 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>ross.burton</cc>
          
          <qa_contact name="Francisco Pedraza">francisco.j.pedraza.gonzalez</qa_contact>
          <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>67830</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-11-01 20:33:04 +0000</bug_when>
    <thetext>If you build an eSDK using the poky repository but without meta-poky in your bblayers.conf (which of course means you&apos;re using a different DISTRO value) then when you come to install the eSDK you will get an error like this:

  Error: &apos;meta-poky/conf&apos; must be a directory containing local.conf &amp; bblayers.conf

Ignoring for the moment the slightly incorrect error message, the issue is that the TEMPLATECONF environment variable is being set simply by using the poky repository, since there is a .templateconf directory at its root that sets it to &quot;meta-poky/conf&quot; if it isn&apos;t already set. This isn&apos;t a problem during normal operation since meta-poky/conf exists, but when you generate the eSDK, meta-poky won&apos;t be copied into it because that layer is not in bblayers.conf and thus the error occurs when bitbake first gets run internally during the build system preparation.

Since we don&apos;t actually need the template config files in the eSDK (we already generate real ones), we should just ensure the value gets set to a reasonable value when building it in order to avoid the error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68117</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-11-08 17:27:51 +0000</bug_when>
    <thetext>Fixed in oe-core 5ee32191a18013061dfa72e64713a94c5d321496.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>