[poky] For do_rootfs - basehash changed from 17... to 94... Variable TIME changed

Nikolai Merinov n.merinov at inango-systems.com
Thu Mar 21 05:55:39 PDT 2019


Hi Glenn, 

> In our recipe has the exclude line: 
> do_rootfs[vardepsexclude] = "TIME DATE DATETIME" 
> 
> 
> Why is bitbake depending on TIME when we have told it not to? 

Did you use the TIME variable directly in the "do_rootfs" function code? The "vardepsexclude" flag excludes only direct dependencies:

    B = "test"
    A = "${B}"
    # Code on the following line will not work: There is no direct dependency from do_install to B.
    # do_install[vardepsexclude] = "B"
    # Code on the following line effectively remove value of B variable from do_install stamps:
    A[vardepsexclude] = "B" 
    do_install () { 
      echo ${A}
    }

Regards, 
Nikolai 



More information about the poky mailing list