Bug 7395 - [luna]: build.sh/setup.sh: two checkouts with proxy
Summary: [luna]: build.sh/setup.sh: two checkouts with proxy
Status: VERIFIED FIXED
Alias: None
Product: Eclipse Plugin
Classification: Yocto Project Subprojects
Component: eclipse-plugin (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.8 M4
Assignee: Todor Minchev
QA Contact: Mihail Stanciu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-03-04 20:06 UTC by Beth Flanagan
Modified: 2015-03-31 14:13 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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