On 12/11/2017 03:19 PM, Anton Gerasimov wrote:
Unfortunately this doesn't work as expected (the recipe doesn't get
rebuilt when the file changes, looks like calculate_file_sha256 doesn't
run unless PATH_TO_FILE has changed) and at the same time if I
'cleanall' the recipe and change the file before rebuilding I get a lot
of "metadata is not deterministic" errors.
Is there a proper way to do that with bitbake?
I don't think so. You need to write an external script that copies the
file into the layer, then runs bitbake. The recipe should simply refer
to the file via SRC_URI file fetcher.
Alex
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto