]> code.ossystems Code Review - openembedded-core.git/commit
kernel-yocto: Ensure python code has awlays run before SRCPV is expanded
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Feb 2011 10:35:53 +0000 (10:35 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Feb 2011 12:05:36 +0000 (12:05 +0000)
commit65712be7369c20d7577f563167c49dd4fd466da6
tree9a43c0b9cb26b54cf515e372f1d8492ac08ff20c
parentbd2fd821a3bf155da30ac2378760bf27103d1457
kernel-yocto: Ensure python code has awlays run before SRCPV is expanded

The python code in this class file needs to run before SRCPV is expanded
and calls into the fetcher are made. To so this we create a python function
and prepend a call to it before SRCPV's get_srcrev() call.

Ugly, ugly, ugly but the ordering is guaranteed.

If this doesn't happen, the fetcher can end up in two different states and
there may be caching implications of this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass