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 <g...@mlbassoc.com> wrote: > On 2017-02-11 02:24, Khem Raj wrote: > >> On Fri, Feb 10, 2017 at 3:05 PM, Xiaohui Liu <whu...@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@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto