<?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>2349</bug_id>
          
          <creation_ts>2012-04-19 18:11:16 +0000</creation_ts>
          <short_desc>Fix rpm-based image generation to enforce sensible package install ordering</short_desc>
          <delta_ts>2013-02-22 20:02:44 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>1.3</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>1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Scott Garman">scott.a.garman</reporter>
          <assigned_to name="Mark Hatle">mark.hatle</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</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>20727</commentid>
    <comment_count>0</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2012-04-19 18:11:16 +0000</bug_when>
    <thetext>This bug is to track the need to refactor package_rpm.bbclass or fix rpm&apos;s inability to install packages in a predictable order. 

The problem is our image generation process is entirely package-based, and we need to ensure that, for example, base-passwd and shadow are installed before any packages that need to create custom users/groups.

Likewise, postinst scripts should be able to assume that the RDEPENDS for this package have already been installed before they run (currently this is not the case - qemugl&apos;s postinst script had to be converted to a first-boot script for this reason).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30052</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2013-02-22 20:02:44 +0000</bug_when>
    <thetext>I think this has been done via a number of patches to help control scriptlet dependencies, smart integration and related.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>