<?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>3218</bug_id>
          
          <creation_ts>2012-10-03 16:05:00 +0000</creation_ts>
          <short_desc>[rpm] On-device rpm postinsts don&apos;t say where they came from</short_desc>
          <delta_ts>2013-03-15 02:45:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>Package Management Issues</product>
          <component>RPM</component>
          <version>1.4</version>
          <rep_platform>x86</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>normal</bug_severity>
          <target_milestone>1.4 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Kai Kang">kai.kang</assigned_to>
          <cc>kai.kang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>yi.zhao</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>26154</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-10-03 16:05:00 +0000</bug_when>
    <thetext>The first-boot post install scripts are numbered instead of named after the package that installed them, which is troublesome when there&apos;s a bug:

Running postinst /etc/rpm-postinsts/100...
Running postinst /etc/rpm-postinsts/101...
usage: update-rc.d [-n] [-f] [-r &lt;root&gt;] &lt;basename&gt; remove
       update-rc.d [-n] [-r &lt;root&gt;] [-s] &lt;basename&gt; defaults [NN | sNN kNN]
       update-rc.d [-n] [-r &lt;root&gt;] [-s] &lt;basename&gt; start|stop NN runlvl [runlvl] [...] .
                -n: not really
                -f: force
                -v: verbose
                -r: alternate root path (default is /)
                -s: invoke start methods if appropriate to current runlevel
ERROR: postinst /etc/rpm-postinsts/101 failed.
Running postinst /etc/rpm-postinsts/102...

(gtk-update-icon-cache:1220): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file &apos;/usr/lib/gdk-pixbuf-2.0/2.1
0.0/loaders.cache&apos;: No such file or directory
...

101 is actually busybox-hwclock and that&apos;s a known problem.  I just wish I knew what 102 was without digging into the rootfs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30370</commentid>
    <comment_count>1</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2013-03-04 01:38:51 +0000</bug_when>
    <thetext>Name the post-install script file name with its package name.
Merged in Yocto b7cb3809309d2093990f8b6f930e96c7db827cee</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30723</commentid>
    <comment_count>2</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2013-03-15 02:45:32 +0000</bug_when>
    <thetext>Verified with master branch: 4da406cd50cf02a63ed76810a670aba1eb561c79</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>