[oe] buildserver

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Mon Nov 22 08:56:42 UTC 2010


2010/11/22 Klaus Schwarzkopf <schwarzkopf at sensortherm.de>:
> Am 21.11.2010 19:08, schrieb Chris Larson:
>>
>> On Sat, Nov 20, 2010 at 6:49 AM, Klaus Schwarzkopf<
>> schwarzkopf at sensortherm.de>  wrote:
>>
>>>
>>>  Other good idea is to have sanity checker running once per day too. It
>>>>
>>>> may do next things:
>>>> - check recipes syntax
>>>> - check thath recipes SRC_URI can be fetched
>>>>
>>>
>>> I think, bitbake can easily integrate this two features.
>>>
>>> For example the new options:
>>>
>>> --download-only                 only download the source files for the
>>> given recipe
>>>
>>> --download-only-with-depencies  only download the source files for the
>>> given recipe and its depencies
>>>
>>> --check-syntax                  check recipes syntax
>>
>>
>>
>> This seems pretty foolish and unnecessary to me.  This can be easily done
>> in
>> the metadata -- there's no need to modify bitbake for this at all.
>
>
> Hi Chris,
>
> you are right! I don't see this function.
>
> I wrote some commands, to download the source files:
>
>
> export MACHINE=dm355-evm # can be for all machines
>
> find /home/klaus/development/oe/openembedded/ -name '*.bb' -type f -exec
>  bitbake  -c fetch -b '{}'  2>&1 > fetch.log \;
>
> egrep -n 'ERROR.*bb..failed' fetch.log
>
>
> It is not perfect, but it shows some errors.
>
> Can somebody test it?

You can also do
bitbake -c fetchall world (although this has a little bit less
coverage as it will not handle older versions).

I'm not too good in find syntax so instead of your find cmd I would
probably use something like:

for i in recipes/*/*bb
do
bitbake -c fetch $i
done > fetch.log 2>&1

Enjoy! Frans




More information about the Openembedded-devel mailing list