<?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>14998</bug_id>
          
          <creation_ts>2023-01-03 10:37:15 +0000</creation_ts>
          <short_desc>Poky missing update to SANITY_LOCALCONF_SAMPLE</short_desc>
          <delta_ts>2023-02-17 10:48:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Build Testing</product>
          <component>sanity</component>
          <version>4.2</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>4.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Opdenacker">michael.opdenacker</reporter>
          <assigned_to name="Michael Opdenacker">michael.opdenacker</assigned_to>
          <cc>randy.macleod</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>94610</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2023-01-03 10:37:15 +0000</bug_when>
    <thetext>In the current master version of Poky, we have:
meta/classes-global/sanity.bbclass:SANITY_LOCALCONF_SAMPLE ?= &quot;${COREBASE}/meta*/conf/local.conf.sample&quot;

While local.conf.sample is located in meta-poky/conf/templates/default/local.conf.sample

That&apos;s an issue in sanity.bbclass when it suggests to compare local.conf with local.conf.sample.

We have the correct value in OE-core though:
meta/classes-global/sanity.bbclass:SANITY_LOCALCONF_SAMPLE ?= &quot;${COREBASE}/meta*/conf/templates/default/local.conf.sample&quot;

I wonder why this wasn&apos;t updated in Poky.
Opening this bug to keep track of this issue.
Don&apos;t hesitate to reassign to a more appropriate component if necessary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94896</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2023-02-07 10:34:25 +0000</bug_when>
    <thetext>Hi Michael, sorry it has taken me a while to look at this.

Note the wildcard in ${COREBASE}/meta*/conf/local.conf.sample

i.e. it can match meta-poky.

In the poky repository only

./meta-poky/conf/templates

exists and in the openembedded-core repository only:

./meta/conf/templates

exists so we should be ok with the message?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94917</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2023-02-09 18:13:07 +0000</bug_when>
    <thetext>I still believe the meta*/conf/local.conf.sample wildcard is wrong, because it doesn&apos;t match this path:
${COREBASE}/meta-poky/conf/templates/default/local.conf.sample

Try by yourself on Poky:
poky$ ls -la meta*/conf/local.conf.sample
ls: cannot access &apos;meta*/conf/local.conf.sample&apos;: No such file or directory

Shouldn&apos;t it be ${COREBASE}/meta*/conf/templates/default/local.conf.sample instead, as it is in OE-core?

Thank you for your support
Cheers
Michael.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94947</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2023-02-16 15:51:22 +0000</bug_when>
    <thetext>Re-assigning the bug to RP as the need-info question is for him.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94950</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2023-02-16 16:38:42 +0000</bug_when>
    <thetext>Richard, to fix this issue, I think that&apos;s enough to pull this commit from OE-core: https://git.openembedded.org/openembedded-core/commit/?id=214c3dc91ceb1557b62ad3a359c72cfc9b2bf4f0

I wonder why it didn&apos;t get pulled by the way.
Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94952</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2023-02-16 17:12:38 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Richard, to fix this issue, I think that&apos;s enough to pull this commit from
&gt; OE-core:
&gt; https://git.openembedded.org/openembedded-core/commit/
&gt; ?id=214c3dc91ceb1557b62ad3a359c72cfc9b2bf4f0
&gt; 
&gt; I wonder why it didn&apos;t get pulled by the way.
&gt; Thanks

I think I resolved this. The challenge is some of those files don&apos;t exist in poky.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94962</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Opdenacker">michael.opdenacker</who>
    <bug_when>2023-02-17 10:48:08 +0000</bug_when>
    <thetext>Works for me, thanks!
Closing the bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>