Skip to contentSkip to conversation

image-buildinfo.bbclass: add missing vardeps to buildinfo_target function

PATCH Rasmus Villemoes 1 participant 1 message Nov 20 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 10 lines · Rasmus Villemoes via openembedded-core

From: Rasmus Villemoes <[email protected]>

Bitbake does see that buildinfo_target depends on the value of ${IMAGE_BUILDINFO_VARS} itself. So adding an element to that list does cause do_rootfs to run again.

But bitbake does not know that the value is a list of variable names whose values are fetched, so changing one of the mentioned variables does not guarantee that do_rootfs gets re-run.

Quoted 7 lines

Fix that by adding all the ${IMAGE_BUILDINFO_VARS} as [vardeps] for buildinfo_target.

(cherry picked from commit 69543bcbcebef81e2797a0cf5662602876998ca4)

Hi Yoann

Please consider adding this one to the wrynose queue, it is quite similar to 99cab65285 so I believe it should be eligible.

Thanks,
Rasmus