On 2017-02-13 07:02, Xiaohui Liu wrote:
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.

That sounds like some other dependency is broken and disabling this task
is just side-stepping around that issue.


On Fri, Feb 10, 2017 at 10:13 PM, Gary Thomas <[email protected] 
<mailto:[email protected]>> wrote:

    On 2017-02-11 02:24, Khem Raj wrote:

        On Fri, Feb 10, 2017 at 3:05 PM, Xiaohui Liu <[email protected] 
<mailto:[email protected]>> 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
            <http://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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to