Question about "hash-equivalence passthrough to the matching server"
Greetings,
I'd need clarification about this section in Poky's meta-poky/conf/local.conf.sample file:
# Yocto Project SState Mirror
#
# The Yocto Project has prebuilt artefacts available for its releases, you can enable
# use of these by uncommenting the following lines. This will mean the build uses # the network to check for artefacts at the start of builds, which does slow it down # equally, it will also speed up the builds by not having to build things if they are # present in the cache. It assumes you can download something faster than you can build it # which will depend on your network. # Note: For this to work you also need hash-equivalence passthrough to the matching server # #BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687" #SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/3.4/PATH;downloadfilename=PATH"
How to set enable "hash-equivalence passthrough"? I haven't managed to find details in the source code yet...
Thanks in advance
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 26 lines · Michael Opdenacker
Greetings,
I'd need clarification about this section in Poky's meta-poky/conf/local.conf.sample file:
# Yocto Project SState Mirror
#
# The Yocto Project has prebuilt artefacts available for its releases, you can enable# use of these by uncommenting the following lines. This will mean the build uses # the network to check for artefacts at the start of builds, which does slow it down # equally, it will also speed up the builds by not having to build things if they are # present in the cache. It assumes you can download something faster than you can build it # which will depend on your network. # Note: For this to work you also need hash-equivalence passthrough to the matching server # #BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687" #SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/3.4/PATH;downloadfilename=PATH"
Quoted 2 lines
How to set enable "hash-equivalence passthrough"? I haven't managed to find details in the source code yet...
You need to configure it for the hash server you are using. If you are running locally (e.g. BB_HASHSERV = "auto"), then BB_HASHSERVE_UPSTREAM will set the upstream. If you are running a standalone hash server, you specify the upstream as a command line argument when you start the server
Quoted 18 lines
Thanks in advance
Michael.--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#2259): https://lists.yoctoproject.org/g/docs/message/2259
Mute This Topic: https://lists.yoctoproject.org/mt/87730954/3616693
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Hi Joshua
Quoted 27 lines · Joshua Watt
Quoted 25 lines · Michael Opdenacker
Greetings,
I'd need clarification about this section in Poky's meta-poky/conf/local.conf.sample file:
# Yocto Project SState Mirror
#
# The Yocto Project has prebuilt artefacts available for its releases, you can enable# use of these by uncommenting the following lines. This will mean the build uses # the network to check for artefacts at the start of builds, which does slow it down # equally, it will also speed up the builds by not having to build things if they are # present in the cache. It assumes you can download something faster than you can build it # which will depend on your network. # Note: For this to work you also need hash-equivalence passthrough to the matching server # #BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687" #SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/3.4/PATH;downloadfilename=PATH"
Quoted 7 lines
Quoted 2 lines
How to set enable "hash-equivalence passthrough"? I haven't managed to find details in the source code yet...
You need to configure it for the hash server you are using. If you are running locally (e.g.
BB_HASHSERV= "auto"), thenBB_HASHSERVE_UPSTREAMwill set the upstream. If you are running a standalone hash server, you specify the upstream as a command line argument when you start the server
Thanks for the details. I'll update the documentation to explain this. Cheers
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com