[OE-core] [PATCH 1/2] kern-tools: unify meta directory detection

Bruce Ashfield bruce.ashfield at windriver.com
Mon Apr 27 13:51:16 UTC 2015


On 2015-04-27 05:18 AM, Richard Purdie wrote:
> On Fri, 2015-04-24 at 12:13 -0400, Bruce Ashfield wrote:
>> It is possible that recipe specific tasks, or build processes drop
>> files into the kernel source directory. These files can cause problems
>> with the meta data detection in the kern-tools.
>>
>> With this change, we have a single unified meta data detection routine,
>> that logs the result in a new file ".metadir", which subsequent scripts
>> can find, and use, thereby avoid repeating the same check many times.
>>
>> We also enhance the check to look for a sentinel file in a proper meta
>> directory, to avoid false positives when an unexpected kernel process
>> leaves an uncommitted directory in the kernel dir.
>>
>> [YOCTO: #7441]
>>
>> Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
>> ---
>>   meta/recipes-kernel/kern-tools/kern-tools-native_git.bb | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
>> index a1ec198fde7f..e83f195a5393 100644
>> --- a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
>> +++ b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
>> @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://git/tools/kgit;beginline=5;endline=9;md5=d8d1d729a70c
>>
>>   DEPENDS = "git-native"
>>
>> -SRCREV = "83e5493ea46067152609008ade131971eaebbb27"
>> +SRCREV = "79bc82453c26d426d3d8fd05d5da37cf5fc4068c"
>>   PR = "r12"
>>   PV = "0.2+git${SRCPV}"
>
> There is no such revision in the repo? The test builds all failed...

what ? I made that change ages ago .. I wonder if I squirreled
it away on a branch.

I should just remember to never send changes on Friday.

Fixed now.

Bruce

>
> Cheers,
>
> Richard
>
>
>




More information about the Openembedded-core mailing list