Bug 7395

Summary: [luna]: build.sh/setup.sh: two checkouts with proxy
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Beth Flanagan <elizabeth.flanagan>
Component: eclipse-pluginAssignee: Todor Minchev <todor.minchev>
Status: VERIFIED FIXED QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: normal    
Priority: Medium+ CC: alexandru.c.georgescu, ioanax.grigoropol, yp.ep.watcher, yp.watcher
Version: 1.8   
Target Milestone: 1.8 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Beth Flanagan 2015-03-04 20:06:54 UTC
In setup.sh and build.sh. PROXY and http_proxy have been set in the repo.

This is problematic for two reasons.

The first is obvious. An end user tries to run the build and it fails because of the proxy.

The second is, during the build, the build checks itself out again (which, why does it do this?) and the proxy info is still in there.

I have a fix for the initial issue (proxy info shouldn't be in there), but, now if I want to set a proxy..... what do I do.

Short term solution: Take out the proxy info. I'm sending a patch for this.
Comment 1 Todor Minchev 2015-03-05 15:57:04 UTC
The proxy issues were resolved with:

f00d97d895f0e234897a28d11260e647ce86e7a6 

The headless build needs a snapshot of the repo. It can be either pulled from the remote repo (in case that the local repo has some untested commits) or alternatively "build.sh -l" will use the local repo.
Comment 2 Mihail Stanciu 2015-03-31 14:13:28 UTC
Verified on luna-master: 7c7292f5cb2893be4d0313b471e45f989b41ea44