diff options
author | Stephano Cetola <stephano.cetola@linux.intel.com> | 2016-08-26 10:41:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-02 18:09:49 +0100 |
commit | 46bad463ef99db9f237723614c5de01f89d5e54f (patch) | |
tree | aa7e8abf97323aea7dfc497abae995d3d4d69cb5 /bitbake/lib/pyinotify.py | |
parent | 3658f6d4770b9015561b33c1e24078b1713372e4 (diff) | |
download | poky-46bad463ef99db9f237723614c5de01f89d5e54f.tar.gz |
bitbake: wget: allow basic http auth for SSTATE_MIRRORS
If http basic auth creds were added to sstate mirrors like so:
https://foo.com/sstate/PATH;user=foo:bar;downloadfilename=PATH
The sstate mirror check would silently fail with 401 unauthorized.
This patch allows both the check, and the wget download to succeed by
checking for user credentials and if present adding the correct
headers, or wget params as needed.
[ YOCTO #9815 ]
(Bitbake rev: cea8113d14da9e12db80a5b6b5811a47a7dfdeef)
Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/pyinotify.py')
0 files changed, 0 insertions, 0 deletions