diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 13:23:09 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 13:24:09 +0200 |
commit | c7da892cb23d50d4d85746c9a0b6b14bf570989d (patch) | |
tree | e7136073f386d6156f51766c498c52c30c8df85f /scripts/readme.txt | |
download | eclipse-poky-kepler-daisy.tar.gz |
initial commit for Enea Linux 4.0daisy
Migrated from the internal git server on the daisy-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'scripts/readme.txt')
-rw-r--r-- | scripts/readme.txt | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/scripts/readme.txt b/scripts/readme.txt new file mode 100644 index 0000000..ba55b64 --- /dev/null +++ b/scripts/readme.txt | |||
@@ -0,0 +1,71 @@ | |||
1 | Note: PART I and PART II can be skipped if you have already done that. | ||
2 | |||
3 | Part I: Base environment setup | ||
4 | I-1. install JDK | ||
5 | sudo zypper install java-1_6_0-openjdk | ||
6 | |||
7 | I-2. install X11 related packages for eclipse running | ||
8 | sudo zypper install xorg-x11-xauth | ||
9 | |||
10 | I-3. using git through a SOCKS proxy(If you're behind some firewall) | ||
11 | I-3.1 Create a wrapper script for netcat | ||
12 | cat > ~/bin/proxy-wrapper | ||
13 | |||
14 | #!/bin/sh | ||
15 | PROXY=proxy-jf.intel.com | ||
16 | PORT=1080 | ||
17 | METHOD="-X 5 -x ${PROXY}:${PORT}" | ||
18 | |||
19 | nc $METHOD $* | ||
20 | |||
21 | Then Ctlr+D to save the file and "chmod +x ~/bin/proxy-wrapper" | ||
22 | |||
23 | Note: if netcat is not installed, please "sudo zypper install netcat-openbsd". | ||
24 | |||
25 | I-3.2 set git proxy environment | ||
26 | add the following line to your ~/.bashrc and "source ~/.bashrc" | ||
27 | |||
28 | export GIT_PROXY_COMMAND="/somepath/bin/proxy-wrapper" | ||
29 | |||
30 | Please be noted that it should be absolute path, since "~" is not supported. | ||
31 | |||
32 | I-4. using svn through a http_proxy(If you're behind some firewall) | ||
33 | Modify the ~/.subversion/servers | ||
34 | |||
35 | http-proxy-host = proxy.jf.intel.com | ||
36 | http-proxy-port = 911 | ||
37 | |||
38 | I-5. Get the scripts from eclipse-poky git | ||
39 | git clone git://git.pokylinux.org/eclipse-poky.git | ||
40 | |||
41 | The scripts used for auto builder is under the directory of "scripts". | ||
42 | |||
43 | |||
44 | Part II: Setup the build environment | ||
45 | II-1. Modify the scripts/setup.sh to set appropriate proxy settings. | ||
46 | Set PROXY to a http proxy URL and PORT to the port number. Comment out | ||
47 | these 2 variables if proxy is not required. | ||
48 | |||
49 | II-2. Run scripts/setup.sh to set up the build environment. | ||
50 | This will install the eclipse and relevant plugins required to build | ||
51 | Yocto eclipse plug-in. | ||
52 | |||
53 | Part III: Build & Install Yocto Eclipse plug-in | ||
54 | |||
55 | To build the Yocto Eclipse plug-in, simply run | ||
56 | "ECLIPSE_HOME=<eclipse path> scripts/build.sh <branch name> <release name>". | ||
57 | |||
58 | The <eclipse install path> is the absolute path where you installed the | ||
59 | eclipse in step II-2. | ||
60 | |||
61 | The <branch name> is the git branch name you build based on. | ||
62 | |||
63 | If successful, 2 files org.yocto.sdk-<release name>-<date>.zip and | ||
64 | org.yocto.sdk.-<release name>-<date>-archive.zip will be genereated under the | ||
65 | directory where you invoked the "build.sh" script. | ||
66 | |||
67 | The file with the "-archive" in its name is the archive zip used for eclipse | ||
68 | update manager. User should use eclipse update manager to install it. | ||
69 | |||
70 | The file without the "-archive" in its name is the zip containing only the | ||
71 | plugins/features. User should unzip it to the their target eclipse to install it. | ||