On Wed, Jul 10, 2019 at 10:15 AM Martin Hundebøll <[email protected]> wrote:
>
> Hi Bruce,
>
> On 30/05/2019 14.44, [email protected] wrote:
> > From: Bruce Ashfield <[email protected]>
> >
> > Signed-off-by: Bruce Ashfield <[email protected]>
> > ---
> >   meta/recipes-kernel/linux/linux-yocto-dev.bb | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb 
> > b/meta/recipes-kernel/linux/linux-yocto-dev.bb
> > index ae8c343008..3a055c12ad 100644
> > --- a/meta/recipes-kernel/linux/linux-yocto-dev.bb
> > +++ b/meta/recipes-kernel/linux/linux-yocto-dev.bb
> > @@ -30,7 +30,7 @@ SRC_URI = 
> > "git://git.yoctoproject.org/linux-yocto-dev.git;branch=${KBRANCH};name
> >   SRCREV_machine ?= 
> > '${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/kernel", 
> > "linux-yocto-dev", "${AUTOREV}", 
> > "29594404d7fe73cd80eaa4ee8c43dcc53970c60e", d)}'
> >   SRCREV_meta ?= 
> > '${@oe.utils.conditional("PREFERRED_PROVIDER_virtual/kernel", 
> > "linux-yocto-dev", "${AUTOREV}", 
> > "29594404d7fe73cd80eaa4ee8c43dcc53970c60e", d)}'
> >
> > -LINUX_VERSION ?= "5.0-rc+"
> > +LINUX_VERSION ?= "5.2-rc+"
> >   LINUX_VERSION_EXTENSION ?= "-yoctodev-${LINUX_KERNEL_TYPE}"
> >   PV = "${LINUX_VERSION}+git${SRCPV}"
>
> My own kernel recipe (more or less mainline) failed to build when I
> bumped to v5.2. It fails to generate the out-of-tree Makefile due to a
> missing dependency on `realpath`[1].
>
> The quick-fix is to add coreutils-native to DEPENDS, but I am not sure
> if this is what we want.
>
> Have you seen the same?

Nope, I haven't seen that. But then again, all my machines have
realpath available.

As you hinted, building all of coreutils as a dependency for the
kernel is a bit heavy. We could make
realpath a host requirement,  or otherwise, split out realpath (but
you'd still need to build coreutils, so
that really doesn't help).

I'd lean towards just making it a host requirement .. but I'm sure
Richard can advise better than me
on the pro's and con's of the options.

Bruce

>
> // Martin
>
> [1]
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=48b5ffd1268788afb01525e71e864e901e9aa070



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to