+1<div><br></div><div>I agree with Scott's definition. In the general Linux context a Package is a compilation of binaries, documentation, development files, etc. wrapped up in a format that can be used by a package management system to install it on a target system.</div>
<div><br></div><div>It is somewhat confusing that YP and OE use the term 'package' synonymously with 'recipe'. In most cases a package is the output of a recipe.</div><div><br></div><div>I am all for making this more consistent at least to start with in the documentation. Unfortunately, changing variables like P, PN, PV, PR etc. may cause some pain. If a transition is what the broader community would like to achieve then a period where old and new variables can be used interchangeably (if possible) would be the way to go.</div>
<div><br></div><div>:rjs <br><br><div class="gmail_quote">On Fri, Sep 28, 2012 at 11:14 AM, Rifenbark, Scott M <span dir="ltr"><<a href="mailto:scott.m.rifenbark@intel.com" target="_blank">scott.m.rifenbark@intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">This post will have some strong opinions and responses. But, I want to throw this out as a re-write of the term “Package” as defined in the YP Development Manual’s “Terms” section. I gave this a shot based on my brief understanding and
on some email that was tossed about a while back on the term. What I would like to ultimately come up with is a definition that works for the term as we want to use it in the YP docs and also as an explanation for some of our older variable names like PR,
PV, and so forth that really refer to recipes. Please thrash over it….<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p style="margin-left:.5in"><u></u><span style="font-size:10.0pt;font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><em>Package:</em> In the context of the Yocto Project, this term refers to the packaged output from a baked recipe. A package is generally the compiled binaries produced from the recipe's sources. You ‘bake’ something by running
it through BitBake.<u></u><u></u></p>
<p style="margin-left:.5in">It is worth noting that the term "package" can, in general, have subtle meanings. For example, the packages refered to in the "<a href="http://www.yoctoproject.org/docs/1.3/yocto-project-qs/yocto-project-qs.html#packages" target="_blank">The
Packages</a>" section are compiled binaries that when installed add functionality to your Linux distribution.<u></u><u></u></p>
<p style="margin-left:.5in">Another point worth noting is that historically within the Yocto Project, recipes were referred to as packages - thus, the existence of several BitBake variables that are seemingly mis-named, (e.g.
<a href="http://www.yoctoproject.org/docs/1.3/poky-ref-manual/poky-ref-manual.html#var-PR" target="_blank">
<code><span style="font-size:10.0pt;color:blue">PR</span></code></a>, <a href="http://www.yoctoproject.org/docs/1.3/poky-ref-manual/poky-ref-manual.html#var-PRINC" target="_blank">
<code><span style="font-size:10.0pt;color:blue">PRINC</span></code></a>, <a href="http://www.yoctoproject.org/docs/1.3/poky-ref-manual/poky-ref-manual.html#var-PV" target="_blank">
<code><span style="font-size:10.0pt;color:blue">PV</span></code></a>, and <a href="http://www.yoctoproject.org/docs/1.3/poky-ref-manual/poky-ref-manual.html#var-PE" target="_blank">
<code><span style="font-size:10.0pt;color:blue">PE</span></code></a>). <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue">Scott Rifenbark</span></b><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:blue"><u></u><u></u></span></b></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:blue">Intel Corporation</span><span style="font-size:7.5pt;font-family:"Times New Roman","serif""><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:blue">Yocto Project Documentation<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:blue"><a href="tel:503.712.2702" value="+15037122702" target="_blank">503.712.2702</a></span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:blue"><a href="tel:503.341.0418" value="+15033410418" target="_blank">503.341.0418</a> (cell)</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>_______________________________________________<br>
yocto mailing list<br>
<a href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br>
<a href="https://lists.yoctoproject.org/listinfo/yocto" target="_blank">https://lists.yoctoproject.org/listinfo/yocto</a><br>
<br></blockquote></div><br></div>