From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: yocto@yoctoproject.org
Subject: Re: RaspberryPi Kernel - sometimes it works, sometimes it doesn't
Date: Mon, 11 Jun 2012 17:29:59 +0100 [thread overview]
Message-ID: <26798960.m4OGCU6P52@helios> (raw)
In-Reply-To: <4FD5F85C.3030203@gmail.com>
On Monday 11 June 2012 06:53:32 Khem Raj wrote:
> On 6/11/2012 12:29 AM, Tomas Frydrych wrote:
> > I find that -c clean does not work very well, afterward the package
> > gets recompiled but instead of the actual package packages being
> > rebuilt, an earlier version of the packages gets pulled out of
> > sstate into the image. I definitely saw this behaviour with Yocto
> > kernels, but I think happens with other packages as well; I always
> > do -c cleansstate now to avoid this.
>
> yes thats the intended behavior if nothing changed that ensues a
> recompile then it will use precompiled sstate for the package
To clarify, it's designed to be able to determine when the recipe has changed
in such a way that it needs to be rebuilt (by building up dependencies between
variables and computing a checksum of the value of each one, which ends up in
a checksum for each task); if it sees no change then the previous task output
will be used from the sstate cache. It's worth noting however that until
recently (post-1.2) we did not handle when local files referred to in SRC_URI
changed. There also still may be other circumstances under which changes to
the recipe or variables which it refers to will not change the sstate
checksums; if you come across a situation where you made a change and sstate
was re-used when you expected it to be rebuilt, please raise it.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
next prev parent reply other threads:[~2012-06-11 16:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-10 11:30 RaspberryPi Kernel - sometimes it works, sometimes it doesn't Chris Tapp
2012-06-11 7:29 ` Tomas Frydrych
2012-06-11 7:58 ` Chris Tapp
2012-06-11 13:53 ` Khem Raj
2012-06-11 16:29 ` Paul Eggleton [this message]
2012-06-12 7:23 ` Tomas Frydrych
2012-06-12 11:26 ` Paul Eggleton
2012-06-12 11:30 ` Gary Thomas
2012-06-13 13:17 ` Paul Eggleton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=26798960.m4OGCU6P52@helios \
--to=paul.eggleton@linux.intel.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.