Closed aurelien-enchanted-tools closed 3 months ago
Why are you updating PR with your bbappends? Task hashes should change, triggering rebuilds of the dependent recipes automatically, if your bbappend updates the downloaded BSP in a significant way. If that isn't happening, it might be better to investigate from that end of things first.
Maybe I’m telling a story, but it seems that task hashes do not take into account the files accompanying the recipes, as patch files and so on. In my workflow I prefer increment PR when I do an MR. And it is a workflow normally supported by yocto.
task hashes do not take into account the files accompanying the recipes
That used to be the case, but things changed a few years back to fix that (search for file-checksums
in OE-Core).
I'll admit that the relationship between the tegra-binaries recipe and the others that consume its files is a bit weird, which is why I
worked on restructuring the recipes to reduce the need for adding a bbappend to the tegra-binaries recipe. If there are specific recipes in recipes-bsp/tegra-binaries
that I haven't done that for yet, which you need to modify, I'd prefer making that sort of change.
In the short run, though, you could have all your bbappend files do something like require my-tegra-binaries-pr-bump.inc
, instead of modifying PR directly themselves. That way, you'd only have to do the PR change in one place each time you make a change. I've done something similar for other interdependent groups of recipes in the past. You'd still have a bunch of bbappends, of course.
Hello World,
branch: mickledore
Could you remove the PR number from
${TMPDIR}/work-shared/L4T-${L4T_BSP_ARCH}-${PV}-${PR}/Linux_for_Tegra
to allow to PR increment in bbappends without have to create other empty bbappends only to increment their PR to be compatible. For example, if I bbappend thetegra-binaries_35.4.1.bb
and I increment the PR of this recipe via the bbappend, I have to create also bbappends fortegra-bootfiles_35.4.1.bb
,tegra-redundant-boot-rollback_35.4.1.bb
, and so on, to allow a correct build. If we remove-${PR}
in${TMPDIR}/work-shared/L4T-${L4T_BSP_ARCH}-${PV}-${PR}/Linux_for_Tegra
, the bbappend's PR integra-binaries_35.4.1.bbappend
has not effect on other recipes.