<div dir="ltr">Hello there,<br clear="all"><div><br></div><div>After being hit by several regressions due to overrides in Yocto recipes, I realized that we need a test for these configuration pieces. For changes likeĀ <a href="https://gerrit.openbmc-project.xyz/c/openbmc/meta-ibm/+/23668">https://gerrit.openbmc-project.xyz/c/openbmc/meta-ibm/+/23668</a>, I would want the Gerrit presubmit to provide me a diff on which machines this change would take effect, and which variables are being changed.</div><div><br></div><div>Fortunately, I think it is relatively easy to generate such a diff using bitbake '-e' capability, which produces all the variables after expansion, so what requires is a little parsing before and after applying the patch.</div><div><br></div><div>What's tricky would be what machines to generate the bitbake log with, and which variables to diff with. Any ideas? Does it make sense to do something like:</div><div><br></div><div>1. Find all the override machine/platform types from within openbmc/openbmc</div><div>2. For all the bitbake recipe changes to be landed in openbmc/openbmc, generate the environment variable diffs for all these overrides</div><div>3. Post the diff results to Gerrit as presubmit output</div><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Regards,<div>Kun</div></div></div></div>