Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 72 lines (52 sloc) 2.923 kb
de34315 @joshwilsdon Add readme and fix a couple more bugs.
joshwilsdon authored
1
2 Quickstart:
3
adca1c1 @joshwilsdon [HEAD-169] Updated README to test develop branch + bamboo
joshwilsdon authored
4 See: https://hub.joyent.com/wiki/display/dev/Building+the+147+live+image
5
6 * get configure.joyent
7 * run configure
8 * gmake world
9 * gmake live
de34315 @joshwilsdon Add readme and fix a couple more bugs.
joshwilsdon authored
10
11 The configure script sets everything up for building including:
12
13 * ensuring system has required packages installed (and is running on Solaris!)
14 * ensuring SUNWspro is installed in /opt/SUNWspro
15 * ensures the projects/illumos exists and updates the illumos.sh there
16 * ensures the projects/illumos-extras exists
17 * downloads the opensolaris manpages
18
19 The "make world" works as follows (using the tools/build_illumos script):
20
21 * The illumos source in projects/illumos (can be a link) is build and
22 installed into the proto area pointed to <illumos-live DIR>/proto
23
24 * The illumos-extras are built and installed into the proto area pointed
25 to <illumos-live DIR>/proto
26
27 * The local sources in <illumos-live DIR>/src are built and installed
28 into <illumos-live DIR>/proto
29
30 The "make live" process works as follows (using the tools/build_live script):
31
32 * The manifest is used, directories and links are created and files are taken:
33 * first from the <illumos-live DIR>/overlay directory if they exist
34 there; or if not
35 * next from the <illumos-live DIR>/projects/opensolaris-man directory if
36 they exist there; or if not
37 * next from the <illumos-live DIR>/overlay directory if they exist there;
38 or if not
39 * next from the running system rooted at / if they exist there
40
41 * Once the files are copied in, the tools/customize script is run which also
42 sources tools/customize.* if they exist
43
44 * Then the image is packed up and put in output with an expanded directory and
45 a platform-<BUILDSTAMP>.tgz
46
47 * A log of the live image creation is written to <illumos-live DIR>/build
48 directory where entries look like:
49
50 * OK - DIR: indicating a directory that was created
51 * OK - LINK: indicating a hard link that was created
52 * OK - SYMLINK: indicating a symbolic link that was created
53 * OK[A] - FILE: indicating a file that was copied from
54 the <illumos-live DIR>/overlay directory
55 * OK[P] - FILE: indicating a file that was copied from
56 the <illumos-live DIR>/proto directory
57 * OK[M] - FILE: indicating a file that was copied from
58 the <illumos-live DIR>/projects/opensolaris-man directory
59 * OK[S] - FILE: indicating a file that was copied from the running system
60 * *FAILED* - indicating a file that was not found in any of the above
61
62 Other notes:
63
691440b @joshwilsdon Fix to not need net_include.sh and to grab admin_nic and use if set.
joshwilsdon authored
64 * The resulting image requires a 64-bit machine
de34315 @joshwilsdon Add readme and fix a couple more bugs.
joshwilsdon authored
65 * The BUILDSTAMP is available in the live image in /etc/joyent_buildstamp
66 * There is a manifest created:
67
68 output/platform-<BUILDSTAMP>/i86pc/amd64/boot_archive.manifest
69
70 which contains a list of all files/links in the image + md5sums of files and
71 is also available in the live image itself in /var/log/manifest
Something went wrong with that request. Please try again.