[OE-core] [PATCH 1/1] linux-libc-headers: set ALLOW_EMPTY

Bruce Ashfield bruce.ashfield at gmail.com
Fri Jan 15 18:30:55 UTC 2016


On Fri, Jan 15, 2016 at 1:17 PM, Richard Purdie <rpurdie at rpsys.net> wrote:

> On Thu, 2016-01-14 at 14:46 +0800, Jian Liu wrote:
> > If setting IMAGE_INSTALL += "linux-libc-headers", do_rootfs will
> > cause
> > error.
> >   ERROR: linux-libc-headers not found in the base feeds
> >
> > This is because that there is no linux-libc-headers.rpm generated.
>
> There is no point in generating an empty package just for the sake of
> it. Surely you just shouldn't put that in IMAGE_INSTALL?
>

Agreed. We can cook up all sorts of invalid/empty package names that
won't work, some things are better simply as a learning experience if
someone tries it :)

Bruce


>
> Cheers,
>
> Richard
>
> > Signed-off-by: Jian Liu <jian.liu at windriver.com>
> >
> > diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc
> > -headers.inc b/meta/recipes-kernel/linux-libc-headers/linux-libc
> > -headers.inc
> > index 2ba6ed5..403360b 100644
> > --- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
> > +++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
> > @@ -76,3 +76,5 @@ RRECOMMENDS_${PN}-dbg = "${PN}-dev (=
> > ${EXTENDPKGV})"
> >
> >  INHIBIT_DEFAULT_DEPS = "1"
> >  DEPENDS += "unifdef-native"
> > +
> > +ALLOW_EMPTY_${PN} = "1"
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160115/5baff333/attachment-0002.html>


More information about the Openembedded-core mailing list