[bitbake-devel] Making a noexec task executable again
Daniel Lazzari
dlazzari at leapfrog.com
Fri Aug 10 00:15:00 UTC 2012
>> Good suggestion but it didn't seem to work. I added this to my image:
>> addtask fetch2
>> do_fetch2[dirs] = "${DL_DIR}"
>> python do_fetch2() {
>> base_do_fetch()
>> }
>>
>> And I get an error saying:
>> NameError: global name 'base_do_fetch' is not defined
>
>base_do_fetch is a metadata function, not a def'd python function. Use
>bb.build.exec_func() instead.
>--
>Christopher Larson
That worked! Thanks to both of you, completely unstuck now.
More information about the bitbake-devel
mailing list