[OE-core] Kernel recompile if "rm_work" defined

Richard Purdie richard.purdie at linuxfoundation.org
Wed Nov 20 16:53:48 UTC 2013


On Wed, 2013-11-20 at 13:54 +0200, Yevhen Kyriukha wrote:
> 2013/11/18 Richard Purdie <richard.purdie at linuxfoundation.org>:
> > On Mon, 2013-11-18 at 21:43 +0200, Yevhen Kyriukha wrote:
> >> Hi,
> >>
> >> When I set
> >> INHERIT += "rm_work"
> >> in my local.conf to save some space my kernel now recompiles each time
> >> I run bitbake.
> >>
> >> How to fix this without removing "rm_work" from config?
> >
> > Like this. I keep suggesting someone send me the patch but it never
> > seems to happen...
> >
> > diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
> > index 383043e..ff99c76 100644
> > --- a/meta/classes/kernel.bbclass
> > +++ b/meta/classes/kernel.bbclass
> > @@ -146,7 +146,6 @@ do_bundle_initramfs () {
> >                 fi
> >         fi
> >  }
> > -do_bundle_initramfs[nostamp] = "1"
> >
> >  python do_devshell_prepend () {
> >      os.environ["LDFLAGS"] = ''
> >
> 
> Thanks for the answer but it didn't help.
> Kernel still rebuilds.

Right, the above is the first step in solving this but there is another
issue, the do_bundle_initramfs task is not covered by sstate. We need to
fix the second issue too.

Cheers,

Richard





More information about the Openembedded-core mailing list