[yocto] Forcing a single task to re-run each build, by default.
Paul Knopf
pauldotknopf at gmail.com
Tue Nov 21 22:12:53 PST 2017
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}"
--------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171122/65915d63/attachment.html>
More information about the yocto
mailing list