I have a task that I would like to be forced to run for every build.

NOTE: I am aware of the deploy.bbclass, but I want to not use sstate.
Assume I am not using deploy.bbclass.

So, let's say I have this.

--------------------------------------------------------------------
DEPLOYDIR = "${WORKDIR}/deploy-${PN}"
do_deploy[dirs] = "${DEPLOYDIR} ${B}"
do_deploy[vardeps] += "DATETIME"

do_deploy() {
    install -d ${DEPLOYDIR}
    # custom stuff...
}

addtask do_deploy after do_install
--------------------------------------------------------------------

Now, when I run this recipe, I get "non-deterministic" errors, which I get.
Maybe I can get a DATETIME-ish variable that has the same random value
throughout the entire bitbake process?

Or, what about this?

--------------------------------------------------------------------
#do_deploy[vardeps] += "DATETIME"
do_deploy[stamp-extra-info] = "${DATETIME}"
--------------------------------------------------------------------
-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to