<?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>10258</bug_id>
          
          <creation_ts>2016-09-12 14:08:57 +0000</creation_ts>
          <short_desc>bitbake package-index does not work with &apos;rpm&apos;</short_desc>
          <delta_ts>2016-12-01 19:57:32 +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>deployment</component>
          <version>2.2</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>2.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Hatle">mark.hatle</reporter>
          <assigned_to name="Hongxu Jia">hongxu.jia</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>hongxu.jia</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>stephano</cc>
          
          <qa_contact name="David Lopez Barriba">davidx.lopez.barriba</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66036</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2016-09-12 14:08:57 +0000</bug_when>
    <thetext>If you configure a system using the default package_rpm format.  There is currently no way to generate an index for remote deployments (updates).

The &apos;bitbake package-index&apos; command &apos;succeeds&apos; but if you look at the logs:
DEBUG: Executing python function do_package_index
NOTE: There are no packages in /.../tmp-glibc/deploy/rpm
DEBUG: Python function do_package_index finished

The package-index does not appear to be processing the &apos;arch&apos; list (ALL_MULTILIB_PACKAGE_ARCHS).  This may be related to recent changes of only constructing the index in the WORKDIR, while the &apos;package-index&apos; should be constructing it in the deploy directory.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66343</commentid>
    <comment_count>1</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2016-09-20 01:38:29 +0000</bug_when>
    <thetext>Merged into oe-core:

http://cgit.openembedded.org/openembedded-core/commit/?id=3c8c8501d0a19b566a94a9e06afe40642b444958</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68793</commentid>
    <comment_count>2</comment_count>
      <attachid>3553</attachid>
    <who name="David Lopez Barriba">davidx.lopez.barriba</who>
    <bug_when>2016-12-01 19:56:33 +0000</bug_when>
    <thetext>Created attachment 3553
log.do_package_index

log.do_package_index</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68794</commentid>
    <comment_count>3</comment_count>
    <who name="David Lopez Barriba">davidx.lopez.barriba</who>
    <bug_when>2016-12-01 19:57:32 +0000</bug_when>
    <thetext>Verified in commit 6c9f6b5f70ab3ee194b2c2c6f3bd462c994848fa
works OK</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>3553</attachid>
            <date>2016-12-01 19:56:33 +0000</date>
            <delta_ts>2016-12-01 19:56:33 +0000</delta_ts>
            <desc>log.do_package_index</desc>
            <filename>log.do_package_index</filename>
            <type>text/plain</type>
            <size>832</size>
            <attacher name="David Lopez Barriba">davidx.lopez.barriba</attacher>
            
              <data encoding="base64">REVCVUc6IEV4ZWN1dGluZyBweXRob24gZnVuY3Rpb24gZG9fcGFja2FnZV9pbmRleApOT1RFOiBF
eGVjdXRpbmcgJy9ob21lL2Rhdml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