git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be6fec4
)
seppuku: add support for working behind the proxy
author
Dmitry Eremin-Solenikov
<dbaryshkov@gmail.com>
Mon, 25 May 2009 09:06:35 +0000
(13:06 +0400)
committer
Dmitry Eremin-Solenikov
<dbaryshkov@gmail.com>
Mon, 25 May 2009 09:06:35 +0000
(13:06 +0400)
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
classes/seppuku.bbclass
patch
|
blob
|
history
diff --git
a/classes/seppuku.bbclass
b/classes/seppuku.bbclass
index
ab8096e
..
546738d
100644
(file)
--- a/
classes/seppuku.bbclass
+++ b/
classes/seppuku.bbclass
@@
-319,6
+319,12
@@
python seppuku_eventhandler() {
passw = bb.data.getVar("SEPPUKU_PASS", data, True)
product = bb.data.getVar("SEPPUKU_PRODUCT", data, True)
component = bb.data.getVar("SEPPUKU_COMPONENT", data, True)
+ proxy = bb.data.getVar('HTTP_PROXY', data, True )
+ if (proxy):
+ phl = urllib2.ProxyHandler({'http' : proxy})
+ poster.add_handler(phl)
+ opener.add_handler(phl)
+
# evil hack to figure out what is going on
debug_file = open(os.path.join(bb.data.getVar("TMPDIR", data, True),"..","seppuku-log"),"a")