On Wed, Jul 20, 2022 at 05:11 PM, Ross Burton wrote:
Hello Ross,On 19 Jul 2022, at 08:54, akash hadke via lists.openembedded.org <akash.hadke=kpit.com@lists.openembedded.org> wrote:I’ll be blunt: we’re not adding a scan of every file to every recipe in every build to this class.
Actually, I wanted to get all patched CVE numbers from a recipe in one variable, and the value of that variable will be used in other tasks. And for this purpose, I used the anonymous function because without it I will not be able to get the value of CVE_PATCHED in other tasks.
Why not generate this data on-demand in the task you’re writing to use it?