<?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>8375</bug_id>
          
          <creation_ts>2015-09-22 19:35:33 +0000</creation_ts>
          <short_desc>The &quot;Marking Package Architecture&quot; section could be clearer</short_desc>
          <delta_ts>2015-09-23 18:23:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Development Manual</product>
          <component>development</component>
          <version>1.8</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>23 Sept 2015 - IN PROGRESS REVIEW</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ulfalizer</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>54484</commentid>
    <comment_count>0</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2015-09-22 19:35:33 +0000</bug_when>
    <thetext>I&apos;m new to Yocto. After reading

&apos;By default, packages produced for the target are marked as being specific to
the architecture of the target machine ... However, if the recipe configures
the software to be built specific to the target machine (...), then you should
mark the packages produced as being machine-specific by adding the following to
the recipe: PACKAGE_ARCH = &quot;${MACHINE_ARCH}&quot;&apos;

my first thought was &quot;what&apos;s the point of adding it if it&apos;s already the default&quot;?

I&apos;d put it as follows instead:

&apos;By default, packages apply to any machine with the same architecture as the
target machine. When a recipe produces packages that are machine-specific, they
should be marked as such by adding the following to the recipe: PACKAGE_ARCH = &quot;${MACHINE_ARCH}&quot;&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54567</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2015-09-23 16:35:49 +0000</bug_when>
    <thetext>Hi, 

I have applied changes to that bulleted item in http://www.yoctoproject.org/docs/1.9/dev-manual/dev-manual.html#new-recipe-packaging.  I did a bit of text massaging as the information is intended to cover not only the PACKAGE_ARCH stuff but the &quot;inherit allarch&quot; stuff as well.  Thus, I did some splitting up of the text so there was a clear introductory topic followed by the two cases.  I also retained the information about the MACHINE value being passed in as I thought it relevant.

Please look this stuff over and let me know if it is okay.  

Thanks,
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54574</commentid>
    <comment_count>2</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2015-09-23 18:11:52 +0000</bug_when>
    <thetext>Looks good to me!

Thanks,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54575</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2015-09-23 18:23:09 +0000</bug_when>
    <thetext>Great - thanks for the quick look.  I am marking RESOLVED/FIXED and setting the doc flag to &quot;Done&quot;.

Thanks</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>