<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 25, 2015 at 11:52 AM, Allen Curtis <span dir="ltr"><<a href="mailto:allen.curtis@curtisembedded.com" target="_blank">allen.curtis@curtisembedded.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 25, 2015 at 10:15 AM, Allen Curtis <span dir="ltr"><<a href="mailto:allen.curtis@curtisembedded.com" target="_blank">allen.curtis@curtisembedded.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex" class="gmail_quote"><div style="overflow:hidden">I am working with a BSP that has multiple image recipes.<br>
<br>
<a href="http://foo-hwbringup-image.bb/" rel="noreferrer" target="_blank">foo-hwbringup-image.bb</a><br>
<a href="http://foo-qt5demo-image.bb/" rel="noreferrer" target="_blank">foo-qt5demo-image.bb</a><br>
<br>
<a href="http://foo-qt5demo-image.bb/" rel="noreferrer" target="_blank">foo-qt5demo-image.bb</a> contains "require <a href="http://foo-hwbringup-image.bb/" rel="noreferrer" target="_blank">foo-hwbringup-image.bb</a>"<br>
<br>
However if I create foo-hwbringup-image.bbappend, it gets ignored.<br>
<br>
What are the rules with appending included recipes?</div></blockquote></div><br>bbappends do not append arbitrary files, only recipes (and in this case, the inclusion treats them as an arbitrary file). They do not apply to anything included or required, only the recipe itself. So you'll need to bbappend every recipe that includes <a href="http://foo-hwbringup-image.bb/" target="_blank">foo-hwbringup-image.bb</a> in this case.<br></div></div></blockquote><br></span><div>This is unfortunate since <a href="http://foo-hwbringup-image.bb/" target="_blank">foo-hwbringup-image.bb</a> is also a valid recipe. It just doesn't contain the graphics support.</div><div><br></div><div>Is there a better way to add your custom components to "core-image" I guess…..</div><div></div></blockquote></div><br>You could always define custom features for use in IMAGE_FEATURES and add them to your images via EXTRA_IMAGE_FEATURES in local.conf, or bbappend one of the core images.<br></div></div></blockquote><br></div></span><div>How is bbappend a core image different from bbappend foo-hwbringup-image?</div><div><br></div><div>If you follow the original post one more generation, <a href="http://foo-hwbringup-image.bb" target="_blank">foo-hwbringup-image.bb</a> "inherit core-image"</div></blockquote></div><br>It isn't. You asked how to add custom components to a core-image, that's one way to do it, append every image involved. Whether that works for you depends on your requirements, and wasn't part of the question nor the answer.<br>-- <br><div class="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>