<br><br><div class="gmail_quote">On Fri, Mar 15, 2013 at 3:20 PM, Bruce Ashfield <span dir="ltr"><<a href="mailto:bruce.ashfield@windriver.com" target="_blank">bruce.ashfield@windriver.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="im">On 13-03-15 06:33 AM, Hans Beckérus wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi. In an effort to shrink our rootfs by some major numbers we found two<br>
low-hanging fruits that we would like to address before cherry picking<br>
and removing lots of good linux functionality. We have no need for the<br>
uImage (3MB) stored in /boot and also we can leave out the terminfo tree<br>
(2.5MB).<br>
My question here now is if the build system provide functionality to<br>
actually tell the image builder not to include these specific components?<br>
</blockquote>
<br></div>
>From kernel.bbclass, you just need to clear RDEPENDS_kernel-base<br>
in your .conf files:<br>
<br>
# Allow machines to override this dependency if kernel image files are<br>
# not wanted in images as standard<br>
RDEPENDS_kernel-base ?= "kernel-image"<br>
<br>
You'll still get your kernel modules installed after making this change.<br>
<br>
Bruce<br></blockquote><div><br>Thanks Bruce.How could I have missed that? I believe I scanned through the kernel.bbclass for something like this.<br>Also got some good tip regarding /usr/share/terminfo? Guess I need to figure out what package drags it in ;)<br>
 <br>Hans<br></div></div><br>