<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 28, 2012 at 4:45 AM, Robert P. J. Day <span dir="ltr">&lt;<a href="mailto:rpjday@crashcourse.ca" target="_blank">rpjday@crashcourse.ca</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":39k">  perusing package groups, and a few simple questions and probably a<br>
couple things i can submit patches for.<br>
<br>
  first, is IMAGE_FEATURES *exclusively* for selecting package groups<br>
and not individual packages?  since core-image.bbclass reads:<br></div></blockquote><div><br></div><div>IMAGE_INSTALL is for packages. IMAGE_FEATURES is for image features, of which metadata defined package groups (PACKAGE_GROUP_*) are some.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":39k">
# By default we install packagegroup-core-boot and packagegroup-base packages -<br>
<br>
for that comment to read &quot;packages&quot; is a little ambiguous, yes?<br></div></blockquote><div><br></div><div>Not really, no. &#39;packagegroup-core-boot&#39; is a binary package emitted by the packagegroup-core-boot recipe. They are packages.</div>

<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":39k">
  that same comment seems inaccurate as well, since it refers to<br>
&quot;packagegroup-base&quot; when, below, it&#39;s actually:<br>
<br>
<br>
CORE_IMAGE_BASE_INSTALL = &#39;\<br>
    packagegroup-core-boot \<br>
    packagegroup-base-extended \     &lt;-- see?<br>
<br>
so that&#39;s just a quick doc fix.<br>
<br>
  again, back at the top, we read:<br>
<br>
# IMAGE_FEATURES control content of the core reference images<br>
<br>
but it&#39;s not just the *core* reference images, is it?  in fact, the<br>
list of available IMAGE_FEATURES in that file doesn&#39;t include<br>
&quot;splash&quot;, which is inherited from image.bbclass.  should that not be<br>
in the list?  that also means that PACKAGE_GROUP_splash is available<br>
to non-core images.<br></div></blockquote><div><br></div><div>By core images in this context I expect it means any image that inherits core-image.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div id=":39k">
  finally, meta/conf/local.conf.sample also allegedly lists the<br>
possibilities for EXTRA_IMAGE_FEATURES, but that list is noticeably<br>
incomplete.  why not just refer the reader to core-image.bbclass,<br>
rather than try to keep a current list in both places?<br></div></blockquote><div><br></div><div>I&#39;d imagine it&#39;s hard enough getting people to read local.conf.sample, without also expecting them to read other files. It&#39;s no different than any other case of documentation (in comment form, in this case) not matching the content.</div>

<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":39k">
p.s. as with other things i&#39;ve put on my wish list, it would be great<br>
if a variation of bitbake could list the available package groups.</div></blockquote><div><br></div><div>Depending on whether you want the metadata package groups or the packages: </div></div><br>bitbake -e &lt;some core-image inheriting recipe&gt; | grep PACKAGE_GROUP_<br>

-- <br>Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics<br>
</div>