<?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>4153</bug_id>
          
          <creation_ts>2013-03-29 18:48:31 +0000</creation_ts>
          <short_desc>Packages add by locales does not have preinst run</short_desc>
          <delta_ts>2013-04-30 12:02:27 +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.3.2</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>major</bug_severity>
          <target_milestone>1.3.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Otavio Salvador">otavio</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <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>31300</commentid>
    <comment_count>0</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2013-03-29 18:48:31 +0000</bug_when>
    <thetext>It took me sometime to figure why preinst were not being run by avahi-daemon and it seems it was because it has not being explicitly installed. System has included it late due locale package and in this case it was not run.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31462</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-04-03 17:00:10 +0000</bug_when>
    <thetext>So this behaviour is definitely a bug; however is it legitimate to bring in avahi as a dependency for locale installation? How is that getting brought in, can you tell?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31464</commentid>
    <comment_count>2</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2013-04-03 17:50:06 +0000</bug_when>
    <thetext>I think both behaviours are buggy:

 * locale packages shouldn&apos;t depends on PN packages

 * Packages included during locale install ought to have postinst respected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31594</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-04-05 07:40:27 +0000</bug_when>
    <thetext>Which package backend are you using?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31600</commentid>
    <comment_count>4</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2013-04-05 11:49:25 +0000</bug_when>
    <thetext>ipk</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31667</commentid>
    <comment_count>5</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-04-08 12:27:27 +0000</bug_when>
    <thetext>FYI, locale package dependencies on the main package have already been removed in master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b71a16e8ac18b5633ac3a52c60ad78dde37ede7b

With this patch reverted on top of master, I can&apos;t reproduce the issue. I&apos;ll try with danny.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31673</commentid>
    <comment_count>6</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-04-08 13:15:31 +0000</bug_when>
    <thetext>I&apos;ve reproduced this with danny; the following commit is the one that fixed it in master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f931aeb72e4bcc2c8138d9f1b55b1aea86e13b67

This applies cleanly on top of danny and I&apos;ve verified it fixes the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31714</commentid>
    <comment_count>7</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-04-08 16:29:22 +0000</bug_when>
    <thetext>Ross, can you cherry-pick f931aeb72e4bcc2c8138d9f1b55b1aea86e13b67 for the next danny release?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31715</commentid>
    <comment_count>8</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-04-08 16:34:28 +0000</bug_when>
    <thetext>Merged to my danny branch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32767</commentid>
    <comment_count>9</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-04-30 12:02:27 +0000</bug_when>
    <thetext>Merged into oe-core/danny.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>