[yocto] How to gracefully disable a setscene task?

Khem Raj raj.khem at gmail.com
Fri Feb 10 17:24:09 PST 2017


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.
>
> Best,
> Xiaohui
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list