<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 15, 2016 at 1:17 PM, Richard Purdie <span dir="ltr"><<a href="mailto:rpurdie@rpsys.net" target="_blank">rpurdie@rpsys.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 2016-01-14 at 14:46 +0800, Jian Liu wrote:<br>
> If setting IMAGE_INSTALL += "linux-libc-headers", do_rootfs will<br>
> cause<br>
> error.<br>
> ERROR: linux-libc-headers not found in the base feeds<br>
><br>
> This is because that there is no linux-libc-headers.rpm generated.<br>
<br>
</span>There is no point in generating an empty package just for the sake of<br>
it. Surely you just shouldn't put that in IMAGE_INSTALL?<br></blockquote><div><br></div><div>Agreed. We can cook up all sorts of invalid/empty package names that <br></div><div>won't work, some things are better simply as a learning experience if<br></div><div>someone tries it :)<br><br></div><div>Bruce<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
<br>
Richard<br>
<div class="HOEnZb"><div class="h5"><br>
> Signed-off-by: Jian Liu <<a href="mailto:jian.liu@windriver.com">jian.liu@windriver.com</a>><br>
><br>
> diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc<br>
> -headers.inc b/meta/recipes-kernel/linux-libc-headers/linux-libc<br>
> -headers.inc<br>
> index 2ba6ed5..403360b 100644<br>
> --- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc<br>
> +++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc<br>
> @@ -76,3 +76,5 @@ RRECOMMENDS_${PN}-dbg = "${PN}-dev (=<br>
> ${EXTENDPKGV})"<br>
><br>
> INHIBIT_DEFAULT_DEPS = "1"<br>
> DEPENDS += "unifdef-native"<br>
> +<br>
> +ALLOW_EMPTY_${PN} = "1"<br>
--<br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"</div>
</div></div>