[yocto] How to gracefully disable a setscene task?

Xiaohui Liu whulxh at gmail.com
Sun Feb 12 22:02:38 PST 2017


Hi Gary,

Some tasks depend on do_populate_lic, which requires kernel source. But
when do_populate_lic_setscene is called instead of do_populate_lic, it does
not populate kernel source and leads to those tasks complain missing kernel
source. That's why I want to disable do_populate_lic_setscene. Thanks.

On Fri, Feb 10, 2017 at 10:13 PM, Gary Thomas <gary at mlbassoc.com> wrote:

> 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-lin
>>> ux-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
> ------------------------------------------------------------
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170212/821dcf9f/attachment.html>


More information about the yocto mailing list