<?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>9248</bug_id>
          
          <creation_ts>2016-03-14 14:05:21 +0000</creation_ts>
          <short_desc>ROOTFS_POSTINSTALL_COMMAND used only for OpkgRootfs builds</short_desc>
          <delta_ts>2016-04-14 16:51:17 +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>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.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gatis Paeglis">gatis.paeglis</reporter>
          <assigned_to name="Bill Randle">bill.randle</assigned_to>
          <cc>bill.randle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59938</commentid>
    <comment_count>0</comment_count>
    <who name="Gatis Paeglis">gatis.paeglis</who>
    <bug_when>2016-03-14 14:05:21 +0000</bug_when>
    <thetext>DpkgRootfs and RpmRootfs do not read the ROOTFS_POSTINSTALL_COMMAND variable.
Noticed this while looking at poky/meta/lib/oe/rootfs.py

I am using ROOTFS_POSTINSTALL_COMMAND to run my post processing script (to update file timestamps to a known consistent time) before self._run_intercepts() is called.

I am using OpkgRootfs so its not an issue for me, but ideally this should be fixed for dpkg and rpm too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61119</commentid>
    <comment_count>1</comment_count>
    <who name="Bill Randle">bill.randle</who>
    <bug_when>2016-04-12 22:16:24 +0000</bug_when>
    <thetext>As noted, ROOTFS_POSTINSTALL_COMMAND was run only after the opkg rootfs install post processing phase. Submitted a patch to the OE mailing list that makes it generic so it is run after any package manager specific rootfs post processing, but before _run_intercepts().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61245</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-04-14 16:51:17 +0000</bug_when>
    <thetext>Fixed in oe-core 8f2571881cd01ace88d282a63ad802cab4ab6940.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>