[yocto] How to gracefully disable a setscene task?

Gary Thomas gary at mlbassoc.com
Fri Feb 10 22:13:49 PST 2017


On 2017-02-11 02:24, Khem Raj wrote:
> On Fri, Feb 10, 2017 at 3:05 PM, Xiaohui Liu <whulxh at gmail.com> wrote:
>> Hi everyone,
>>
>> I tried to disable a setscene task as below:
>>
>> do_populate_lic_setscene () {
>>    exit 1
>> }
>>
>
> you could use something like
>
> deltask  do_populate_lic_setscene
>
>> It works but shows a warning:
>>
>> WARNING: Logfile for failed setscene task is
>> /data/users/xhliu/poky/build-arm/tmp/work/armada39x-poky-linux-gnueabi/linux-terragraph/4.4.8-r0/temp/log.do_populate_lic_setscene.2825388
>> WARNING: Setscene task 1
>> (/data/users/xhliu/poky/meta-terragraph/recipes-kernel/linux/linux-terragraph_4.4.8.bb,
>> do_populate_lic_setscene) failed with exit code '1' - real task will be run
>> instead
>>
>> Any way to disable it without the warning? Thanks in advance.

Why would you want to do this?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list