Browse code

Updated build instructions.

Touseef Liaqat authored on 2015/07/17 05:35:56
Showing 1 changed files
... ...
@@ -12,6 +12,21 @@ photon/
12 12
 
13 13
 ## How to build the ISO?
14 14
 
15
+Pre-requisites :
16
+
17
+ * Build O/S : Ubuntu 14.04 (or later) 64 bit
18
+ * Packages: bison, gawk, g++, createrepo, python-aptdaemon, genisoimage, texinfo, python-requests
19
+```
20
+sudo apt-get -y install bison gawk g++ createrepo python-aptdaemon genisoimage texinfo python-requests
21
+```
22
+
23
+Make sure `/bin/sh` is a symbolic link pointing to `/bin/bash`
24
+
25
+If `/bin/sh` is pointing `/bin/dash`, execute the following:
26
+```
27
+sudo ln -sf /bin/bash /bin/sh
28
+```
29
+
15 30
 Assuming you checked out the workspace under `$HOME/workspaces/photon`.
16 31
 ```
17 32
 cd $HOME/workspaces/photon
... ...
@@ -43,34 +58,6 @@ photon-sources/
43 43
 ├──src2.tar.gz
44 44
 └──...
45 45
 ```
46
-## How to build the toolchain?
47
-
48
-1. Check toolchain pre-requisites
49
-```
50
-$HOME/workspaces/photon/support/toolchain/version-check.sh
51
-```
52
-2. Make toolchain
53
-```
54
-$HOME/workspaces/photon
55
-sudo make toolchain
56
-```
57
-
58
-Pre-requisites :
59
-
60
- * Build O/S : Ubuntu 14.04 (or later) 64 bit
61
- * Packages: bison, gawk, g++, createrepo, python-aptdaemon, genisoimage, texinfo, python-requests
62
-```
63
-sudo apt-get -y install bison gawk g++ createrepo python-aptdaemon genisoimage texinfo python-requests
64
-```
65
-
66
-### Settings:
67
-
68
-Make sure `/bin/sh` is a symbolic link pointing to `/bin/bash`
69
-
70
-If `/bin/sh` is pointing `/bin/dash`, execute the following:
71
-```
72
-sudo ln -sf /bin/bash /bin/sh
73
-```
74 46
 
75 47
 ## Where are the build logs?
76 48
 ```