<?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>3407</bug_id>
          
          <creation_ts>2012-11-12 14:59:39 +0000</creation_ts>
          <short_desc>Check for postinsts in read-only rootfs (in deb/rpm)</short_desc>
          <delta_ts>2013-05-02 11:50: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>1.4</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</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>1.4 M2</target_milestone>
          
          <blocked>3406</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>alexandrux.palalau</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27352</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-11-12 14:59:39 +0000</bug_when>
    <thetext>We should add a way of indicating the root filesystem is supposed to be bootable read-only e.g. adding read-only-rootfs to IMAGE_FEATURES; if this is set we can check during do_rootfs if there are any postinstall scripts to be run on first boot and fail if any are found.

This switch may also be useful if we need to tweak anything else during rootfs construction in the case of a read-only system.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27387</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-11-13 12:21:02 +0000</bug_when>
    <thetext>Turns out the ipk backend already does exactly this; presumably it just needs to be implemented for rpm (or in a more generic manner).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28241</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-12-13 15:12:42 +0000</bug_when>
    <thetext>I have a preliminary patch for this, still need to test it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28990</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-01-21 17:58:12 +0000</bug_when>
    <thetext>Merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8ca0d592c5c266741ea00bc2629ef031506f834e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31111</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2013-03-25 13:37:57 +0000</bug_when>
    <thetext>Verified on master branch.
Commit ID: 9ffee9add2d0380f4025e7a678a166f25a7d659e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32842</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2013-05-02 11:50:17 +0000</bug_when>
    <thetext>This is covered with the following Testopia test case:
https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=741</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>