diff options
author | Thomas Perrot <thomas.perrot@bootlin.com> | 2024-02-09 17:04:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-10 14:13:51 +0000 |
commit | 987ab2a446aab235d6e86e97c05f25fb800d7acc (patch) | |
tree | ef608bf644940f3dcc48c05d875512fdfd5f2675 /scripts/lib/recipetool/create_buildsys.py | |
parent | 0f50f21151f302d4b4db115866a907628bcd4e3c (diff) | |
download | poky-987ab2a446aab235d6e86e97c05f25fb800d7acc.tar.gz |
bitbake: wget.py: always use the custom user agent
Add the "--user-agent" paramater in the wget base command to
perform all wget commands with this parameter, because a few
HTTP servers block requests with the default wget user agent.
For example, "hg.openjdk.org" never send a response to requests
have been sent with wget:
wget https://hg.openjdk.org/jdk8u/jdk8u/archive/jdk8u272-ga.tar.bz2
https://hg.openjdk.org/jdk8u/jdk8u/archive/jdk8u272-ga.tar.bz2
Resolving hg.openjdk.org (hg.openjdk.org)... 23.54.129.73
Connecting to hg.openjdk.org (hg.openjdk.org)|23.54.129.73|:443... connected.
HTTP request sent, awaiting response...
(Bitbake rev: d6fa261a9603677f0b3abbd309c1ca6073b63f4c)
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create_buildsys.py')
0 files changed, 0 insertions, 0 deletions