> On Wed, 9 Sep 2020 at 18:35, Chris Laplante via lists.openembedded.org
> <chris.laplante=agilent....@lists.openembedded.org> wrote:
> >
> > Previously CVE_CHECK_DB_FILE / CVE_CHECK_DB_DIR was the same
> across
> > multiconfigs which led to a race condition wherein multiple
> > cve-update-db-native:do_populate_cve_db tasks could attempt to write
> > to the same sqlite database. This led to the following task failure:
> 
> But the databases will be identical so that's basically a waste of time.  How
> about adding a lock file so the second task waits for the first to complete,
> and then does nothing as the database is up to date?

That's a good point. I also considered just making it a bb.event.BuildStarted 
event handler, like how uninative works. 

Chris
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#142310): 
https://lists.openembedded.org/g/openembedded-core/message/142310
Mute This Topic: https://lists.openembedded.org/mt/76737830/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to