* Kernel recompile if "rm_work" defined
@ 2013-11-18 19:43 Yevhen Kyriukha
2013-11-18 21:34 ` Richard Purdie
0 siblings, 1 reply; 4+ messages in thread
From: Yevhen Kyriukha @ 2013-11-18 19:43 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
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?
Best regards,
Yevhen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Kernel recompile if "rm_work" defined
2013-11-18 19:43 Kernel recompile if "rm_work" defined Yevhen Kyriukha
@ 2013-11-18 21:34 ` Richard Purdie
2013-11-20 11:54 ` Yevhen Kyriukha
0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2013-11-18 21:34 UTC (permalink / raw)
To: Yevhen Kyriukha; +Cc: Patches and discussions about the oe-core layer
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"] = ''
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: Kernel recompile if "rm_work" defined
2013-11-18 21:34 ` Richard Purdie
@ 2013-11-20 11:54 ` Yevhen Kyriukha
2013-11-20 16:53 ` Richard Purdie
0 siblings, 1 reply; 4+ messages in thread
From: Yevhen Kyriukha @ 2013-11-20 11:54 UTC (permalink / raw)
To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer
2013/11/18 Richard Purdie <richard.purdie@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.
Best regards,
Yevhen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Kernel recompile if "rm_work" defined
2013-11-20 11:54 ` Yevhen Kyriukha
@ 2013-11-20 16:53 ` Richard Purdie
0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2013-11-20 16:53 UTC (permalink / raw)
To: Yevhen Kyriukha; +Cc: Patches and discussions about the oe-core layer
On Wed, 2013-11-20 at 13:54 +0200, Yevhen Kyriukha wrote:
> 2013/11/18 Richard Purdie <richard.purdie@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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-11-20 16:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-18 19:43 Kernel recompile if "rm_work" defined Yevhen Kyriukha
2013-11-18 21:34 ` Richard Purdie
2013-11-20 11:54 ` Yevhen Kyriukha
2013-11-20 16:53 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox