On Fri, 2024-08-16 at 14:23 +0200, Marta Rybczynska via lists.openembedded.org wrote: > Update the recent code adding local/source database files. Add LOCAL and > SOURCE part to variable names, as none of them needs to be in DL_DIR. > Use old variable names for the source files, so that the change should be > invisible to users after backporting. > > At the same time fix a bug: handle a situation when both point to the > same place (was: a deadlock). > > Fixes: 03596904392d257572a905a182b92c780d636744 (cve_check: Use a local copy > of the database during builds) > > Signed-off-by: Marta Rybczynska <[email protected]> > --- > meta/classes/cve-check.bbclass | 14 ++++++------- > .../meta/cve-update-nvd2-native.bb | 21 ++++++++++++------- > 2 files changed, 21 insertions(+), 14 deletions(-)
I'm not convinced about this I'm afraid. I think do_fetch should put data into DL_DIR and share it, "cve-update-nvd2" isn't special in that regard. We do want to have our source artefacts stored in one place consistently. If we keep DL_DIR, the naming the makes sense? Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#203463): https://lists.openembedded.org/g/openembedded-core/message/203463 Mute This Topic: https://lists.openembedded.org/mt/107930586/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
