[bitbake-devel] Making a noexec task executable again

Daniel Lazzari dlazzari at leapfrog.com
Wed Aug 8 21:19:32 UTC 2012


>> I ran across an interesting challenge today. One of our old image recipes is
>being ported into denzil and needs to fetch a file to do some whitelist
>processing. Unfortunately, in denzil, the image class has
>>
>> do_fetch[noexec] = "1"
>>
>> which stops the fetch task from running. How can I get it to run again? I tried
>>
>> do_fetch[noexec] = "0"
>>
>> and
>>
>> do_fetch[noexec] = ""
>>
>> to no avail.
>
>One option is to add a new task that calls base_do_fetch?
>
>-M

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





More information about the bitbake-devel mailing list