<?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>15581</bug_id>
          
          <creation_ts>2024-08-22 18:53:23 +0000</creation_ts>
          <short_desc>dm-verity-image-initramfs rebuilds unconditionally</short_desc>
          <delta_ts>2026-06-04 15:09:02 +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>Other YP Layers</product>
          <component>meta-security</component>
          <version>4.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Woodrow Douglass">wdouglass</reporter>
          <assigned_to name="Scott Murray">scott.murray</assigned_to>
          <cc>ccasciato</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>rybczynska</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>99568</commentid>
    <comment_count>0</comment_count>
    <who name="Woodrow Douglass">wdouglass</who>
    <bug_when>2024-08-22 18:53:23 +0000</bug_when>
    <thetext>I&apos;m reporting this against 4.3, because that&apos;s what i&apos;m running, but it&apos;s still true as of the tip of the master branch of the meta-security repository. When dm-verity-image-initramfs is enabled, it is unconditionally rebuilt, due to the
```
do_image[nostamp] = &quot;1&quot;
```
at line 34 of the .bb file. I am building an image that gets embedded inside another image  (using bitbake multiconfig) and the internal image rebuilding causes my build to be much longer. Shouldn&apos;t the dependency function (the anonymous python function above the &quot;nostamp&quot; line) cause the .env file to get regenerated when needed, making the &quot;nostamp&quot; flag redundant? i&apos;m building with `unset do_image[nostamp]` in a .bbappend and it seems to do what i expect -- is this a dangerous thing to do?

Thank you for your maintenance of this meta layer, and for considering my questions! If this is not a bug, please excuse my filing it inappropriately!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103211</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-11-06 15:37:38 +0000</bug_when>
    <thetext>This may be &quot;normal behaviour&quot; but can it be removed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105714</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-06-04 15:09:02 +0000</bug_when>
    <thetext>Scott, Is this in your plan ? 
If not, unassign.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>