TL;DR: Is there a way to force to recompile a package every time an image is generated?
I have a bbappend with a do_deploy_append
appending to a file and if I modify this step, the recipe will not be recompiled when generating an image using it. This can lead to errors pretty hard to ind. Bitbake assumes it has been unchanged. I have only 2 packages like this, very small.
Is there a parameter to force those package being cleaned and recompiled without manually do it?
I am using Yocto morty
sed? in a
do_install_append()`-step. They all works as intended. Besides, which version of OE / Yocto are you using? – Baalbeerdo_install
task. As${B}
is completely unused inrpi-config_git.bb
I guess that you're modifying files in${S}
(which also could be bad for rerunning the task). Would you mind to try and replace yourdo_install_append
with ado_deploy_append
? – Baalbeer${S}
directory, it would actually make sense but in this particular case, the deploy append doesn't make a difference. I think the recipe iteself needs a rewriting, because this looks like a kind of hack here – Kerrisondo_deploy
in B; then use the modified files from B to deploy them... I'm not using any RPi, though, so I won't be testing it. Though, I would have assumed that changes todo_deploy
by an append would have been recognized by bitbake... – BaalbeerSRCREV="${AUTOREV}"
, bitbake will not check if there's a new commit on this repo. Working on a project in development daily needs this variable set this way, but I find myself cleaning everytime. – Kerrison