On Thu, 2024-05-02 at 12:55 +0000, Ross Burton wrote: > On 2 May 2024, at 12:02, Richard Purdie via lists.openembedded.org > <[email protected]> wrote: > > > +BBCLASSEXTEND += "devupstream:target" > > > +SRCREV:class-devupstream = "${AUTOREV}" > > > +PV:class-devupstream = "dev+git" > > > > Doesn't that mean parsing would hit the network by default every > > time? > > I _believe_ it only hits when the devupstream variation is actually > picked. Is this acceptable?
I believe you're wrong ;-) I applied this patch and the first thing I'd note is that: $ bitbake -p Parsing of 991 .bb files complete (990 cached, 1 parsed). 1969 targets, 50 skipped, 0 masked, 0 errors. $ bitbake -p Parsing of 991 .bb files complete (990 cached, 1 parsed). 1969 targets, 50 skipped, 0 masked, 0 errors. i.e. it is *always* now parsing one recipe, you can guess which. I then tried "bitbake -pDDD" which in the output includes: DEBUG: /media/build/poky/meta/recipes-bsp/u-boot/u-boot_2024.04.bb: Fetcher accessed the network with the command git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all ls-remote https://source.denx.de/u-boot/u-boot.git so I believe this is accessing the network on every parse. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#198920): https://lists.openembedded.org/g/openembedded-core/message/198920 Mute This Topic: https://lists.openembedded.org/mt/105860305/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
