<?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>16193</bug_id>
          
          <creation_ts>2026-03-07 20:03:35 +0000</creation_ts>
          <short_desc>overlayfs-etc.bbclass should rebuild rootfs when template changed</short_desc>
          <delta_ts>2026-03-20 05:51:18 +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>OE-Core</product>
          <component>oe-core other</component>
          <version>6.0</version>
          <rep_platform>All</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>enhancement</bug_severity>
          <target_milestone>6.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Wojciech Niziński">niziak-yoctobug</reporter>
          <assigned_to name="Vyacheslav Yurkov">uvv.mail</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>twoerner</cc>
    
    <cc>uvv.mail</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>104560</commentid>
    <comment_count>0</comment_count>
    <who name="Wojciech Niziński">niziak-yoctobug</who>
    <bug_when>2026-03-07 20:03:35 +0000</bug_when>
    <thetext>Hello. During usage of `overlayfs-etc.bbclass` with my own OVERLAYFS_ETC_INIT_TEMPLATE I found that changes in template file are not propagated to image. 
I think 

poky/meta/classes-recipe/overlayfs-etc.bbclass

should add track template file for changes:

do_rootfs[file-checksums] += &apos;${@bb.utils.contains(&quot;IMAGE_FEATURES&quot;, &quot;overlayfs-etc&quot;, &quot;${OVERLAYFS_ETC_INIT_TEMPLATE}:True&quot;, &quot;&quot;, d)}&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104597</commentid>
    <comment_count>1</comment_count>
    <who name="Trevor Woerner">twoerner</who>
    <bug_when>2026-03-12 14:45:39 +0000</bug_when>
    <thetext>This fix looks correct; would you like to submit a patch to the mailing list?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104617</commentid>
    <comment_count>2</comment_count>
    <who name="Vyacheslav Yurkov">uvv.mail</who>
    <bug_when>2026-03-12 18:25:11 +0000</bug_when>
    <thetext>Thanks for pointing this out!

The suggestion looks good with a small note. If it&apos;s already inside the class, then the &apos;contains&apos; condition seems to be redundant and can be omitted. We can unconditionally depend on the template file.

Do you want to submit the patch yourself or should I?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104754</commentid>
    <comment_count>3</comment_count>
    <who name="Vyacheslav Yurkov">uvv.mail</who>
    <bug_when>2026-03-20 05:51:18 +0000</bug_when>
    <thetext>https://git.openembedded.org/openembedded-core/commit/?id=548c212a11e2cc2c20e5cb3892d0b2f3f77d0ada</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>