<?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>13225</bug_id>
          
          <creation_ts>2019-03-14 14:33:12 +0000</creation_ts>
          <short_desc>Need better explanation of how recipes create packages</short_desc>
          <delta_ts>2024-10-29 10:22:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Reference</product>
          <component>handbook</component>
          <version>5.99</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>October 17 2019: ACCEPTED</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Scott Rifenbark">srifenbark</reporter>
          <assigned_to name="Antonin Godard">antonin.godard</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>mark.morton</cc>
    
    <cc>michael.opdenacker</cc>
    
    <cc>poky.doc.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sscott</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>83264</commentid>
    <comment_count>0</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2019-03-14 14:33:12 +0000</bug_when>
    <thetext>We need better documentation on how a recipe creates packages.  This explanation would likely fit in the existing YP Overview and Concepts Manual where we describe the build process in some detail. 

I am filing this bug for Steve Scott &lt;sscott@san.rr.com&gt; who contacted the yocto@yoctoproject.org group asking about where to find documentation on this topic.  

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83563</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2019-04-17 00:18:12 +0000</bug_when>
    <thetext>Hi, 

I am calling out for some raw information here.  How do recipes create packages?  We have this section in the overview and concepts manual (https://yoctoproject.org/docs/2.7/overview-manual/overview-manual.html#bitbake-dev-environment) that breaks down the BitBake process.  One of the sub-sections is about splitting packages.

Can someone provide an overview of the process?  Is all the information captured in that BitBake section referenced by the link in the previous paragraph?

Thanks, 
Scott R.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85249</commentid>
    <comment_count>2</comment_count>
    <who name="steve scott">sscott</who>
    <bug_when>2019-10-07 17:45:29 +0000</bug_when>
    <thetext>Scott:

The overview section of the manual does not provide an explanation that enables someone new to yocto project to grasp YP packaging. In fact, the section says, &quot;The FILES variable defines the files that go into each package in PACKAGES. If you want details on how this is accomplished, you can look at package.bbclass.&quot; This is perhaps the most important concept, and the reader is referred to bbclass source code that is probably at this point still incomprehensible to a newbie.

This link:
https://dominion.thruhere.net/koen/OE/OE-usermanual.html#recipes_packages

provides an excellent tutorial on YP packaging from a user&apos;s point of view. It is from an old OE manual, and I have not been able to find a copy of it archived on the OE site. I think you could almost copy this section verbatim into the YP Overview section on packaging.

If there is some way to contribute to the documentation, I would be happy to give it a try.

steve</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85380</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2019-10-17 16:48:48 +0000</bug_when>
    <thetext>Steve,

Thanks for the link and the extra information on this bug.  I have taken ownership of it from Richard and I will use the information in that link to fix up the Overview manual.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85383</commentid>
    <comment_count>4</comment_count>
    <who name="steve scott">sscott</who>
    <bug_when>2019-10-17 17:14:25 +0000</bug_when>
    <thetext>Hi Scott:

I was able to find a couple of other urls for the old oe manual:
https://www.cumulations.com/img/openembedded-usermanual.pdf
http://www.embeddedlinux.org.cn/OEManual/

You might want to archive the pdf version somewhere (perhaps include it in the YP archived documents). I was looking through it and it has a lot of good information.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85385</commentid>
    <comment_count>5</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2019-10-17 17:30:35 +0000</bug_when>
    <thetext>Hey Steve...  Thanks for additional doc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100011</commentid>
    <comment_count>6</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-10-24 15:03:59 +0000</bug_when>
    <thetext>Bulk move of 5.1 M4 to 5.2 M2 as approved by AlexB.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100053</commentid>
    <comment_count>7</comment_count>
    <who name="Antonin Godard">antonin.godard</who>
    <bug_when>2024-10-29 10:22:25 +0000</bug_when>
    <thetext>Documentation on package splitting was added by following commit:
https://git.yoctoproject.org/yocto-docs/commit/?id=143c3cacdec36c9d7ab81c89bbcc12c0c3936bd9

Closing this bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>