<?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>15120</bug_id>
          
          <creation_ts>2023-05-11 15:50:06 +0000</creation_ts>
          <short_desc>OVERLAYFS_WRITABLE_PATHS missing as vardeps for create_overlayfs_units</short_desc>
          <delta_ts>2024-05-23 15:08:45 +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>core</component>
          <version>4.0</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>5.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Christoph Vogtlaender">christoph.vogtlaender</reporter>
          <assigned_to name="Christoph Vogtlaender">christoph.vogtlaender</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
    
    <cc>simone.p.weiss</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>95523</commentid>
    <comment_count>0</comment_count>
    <who name="Christoph Vogtlaender">christoph.vogtlaender</who>
    <bug_when>2023-05-11 15:50:06 +0000</bug_when>
    <thetext>Changing OVERLAYFS_WRITABLE_PATHS in a recipe does not trigger a rebuild of the package.

e.g. given there are the definitions
&gt; OVERLAYFS_MOUNT_POINT[app] = &quot;/app&quot;
&gt; OVERLAYFS_MOUNT_POINT[data] = &quot;/data&quot;
in MACHINE configuration and a recipe which uses
&gt; OVERLAYFS_WRITABLE_PATHS[app] = &quot;/etc/myapp&quot;
changing the overlay to &quot;data&quot;
&gt; OVERLAYFS_WRITABLE_PATHS[data] = &quot;/etc/myapp&quot;
does not trigger a rebuild of the package.

It seems that OVERLAYFS_WRITABLE_PATHS is not considered as a recipe dependency. Adding
&gt; do_create_overlayfs_units[vardeps] += &quot;OVERLAYFS_WRITABLE_PATHS&quot;
to the recipe works around the issue.

It should be considered to add
&gt; do_create_overlayfs_units[vardeps] += &quot;OVERLAYFS_WRITABLE_PATHS&quot;
to meta/classes/overlayfs.bbclass</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95555</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-05-18 14:37:25 +0000</bug_when>
    <thetext>Makes sense, can you send a patch to the list?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95576</commentid>
    <comment_count>2</comment_count>
    <who name="Christoph Vogtlaender">christoph.vogtlaender</who>
    <bug_when>2023-05-19 17:00:40 +0000</bug_when>
    <thetext>(In reply to Randy MacLeod from comment #1)
&gt; Makes sense, can you send a patch to the list?

Yes, I will send a patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97903</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-01-18 16:20:32 +0000</bug_when>
    <thetext>Chrostoph, are you still planning to send a patch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98234</commentid>
    <comment_count>4</comment_count>
    <who name="Christoph Vogtlaender">christoph.vogtlaender</who>
    <bug_when>2024-02-20 10:49:42 +0000</bug_when>
    <thetext>Yes, I will send a patch. Sorry for the delay.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98235</commentid>
    <comment_count>5</comment_count>
    <who name="Christoph Vogtlaender">christoph.vogtlaender</who>
    <bug_when>2024-02-20 11:52:07 +0000</bug_when>
    <thetext>Patch send to oe-core</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98326</commentid>
    <comment_count>6</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2024-02-26 01:55:06 +0000</bug_when>
    <thetext>Patch Sent</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99061</commentid>
    <comment_count>7</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-05-23 15:08:45 +0000</bug_when>
    <thetext>https://git.yoctoproject.org/poky/commit/?id=48f2d03183f00126e778d141f62ad1502fe3afac</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>