Duplicate to #124
@ya-mouse do you mind pushing a fix into gerrit? I've run into this as well and it's a little irritating.
I've found that it fix (while os-release.bb has changed) only for the first time. If I change env, then it came back until I touch the os-release.bb. So, need to dive deeper to find a cause.
Just to backlog the findings. There is a build_dependencies routine to calculate deps depending on flags. We have to use:
do_compile[vardepsexclude] = "VAR1 VAR2..."
instead of:
do_compile_remove[vardeps] = "VAR1 VAR2..."
Here is the hash calculation part including variables values.
In our case we miss to exclude at least one more variable: PRETTY_NAME. Also, we might exclude NAME.
I can push a fix to gerrit. It's just one line fix.
Yes, please do. It would be appreciated.