Permalink
Browse files

Add readme and fix a couple more bugs.

  • Loading branch information...
joshwilsdon committed Nov 2, 2010
1 parent f3ddc0c commit de3431547f313e6f32a50c34b245954bff1e2b52
Showing with 72 additions and 4 deletions.
  1. +68 −0 README
  2. +1 −1 configure
  3. +2 −2 manifest
  4. +1 −1 overlay/etc/dumpadm.conf
  5. 0 overlay/{var → lib}/svc/manifest/system/sysidtool.xml
View
68 README
@@ -0,0 +1,68 @@
+
+Quickstart:
+
+ [optional: create/download configure.* for your environment]
+ ./configure
+ make world
+ make live
+
+The configure script sets everything up for building including:
+
+ * ensuring system has required packages installed (and is running on Solaris!)
+ * ensuring SUNWspro is installed in /opt/SUNWspro
+ * ensures the projects/illumos exists and updates the illumos.sh there
+ * ensures the projects/illumos-extras exists
+ * downloads the opensolaris manpages
+
+The "make world" works as follows (using the tools/build_illumos script):
+
+ * The illumos source in projects/illumos (can be a link) is build and
+ installed into the proto area pointed to <illumos-live DIR>/proto
+
+ * The illumos-extras are built and installed into the proto area pointed
+ to <illumos-live DIR>/proto
+
+ * The local sources in <illumos-live DIR>/src are built and installed
+ into <illumos-live DIR>/proto
+
+The "make live" process works as follows (using the tools/build_live script):
+
+ * The manifest is used, directories and links are created and files are taken:
+ * first from the <illumos-live DIR>/overlay directory if they exist
+ there; or if not
+ * next from the <illumos-live DIR>/projects/opensolaris-man directory if
+ they exist there; or if not
+ * next from the <illumos-live DIR>/overlay directory if they exist there;
+ or if not
+ * next from the running system rooted at / if they exist there
+
+ * Once the files are copied in, the tools/customize script is run which also
+ sources tools/customize.* if they exist
+
+ * Then the image is packed up and put in output with an expanded directory and
+ a platform-<BUILDSTAMP>.tgz
+
+ * A log of the live image creation is written to <illumos-live DIR>/build
+ directory where entries look like:
+
+ * OK - DIR: indicating a directory that was created
+ * OK - LINK: indicating a hard link that was created
+ * OK - SYMLINK: indicating a symbolic link that was created
+ * OK[A] - FILE: indicating a file that was copied from
+ the <illumos-live DIR>/overlay directory
+ * OK[P] - FILE: indicating a file that was copied from
+ the <illumos-live DIR>/proto directory
+ * OK[M] - FILE: indicating a file that was copied from
+ the <illumos-live DIR>/projects/opensolaris-man directory
+ * OK[S] - FILE: indicating a file that was copied from the running system
+ * *FAILED* - indicating a file that was not found in any of the above
+
+Other notes:
+
+ * The BUILDSTAMP is available in the live image in /etc/joyent_buildstamp
+ * There is a manifest created:
+
+ output/platform-<BUILDSTAMP>/i86pc/amd64/boot_archive.manifest
+
+ which contains a list of all files/links in the image + md5sums of files and
+ is also available in the live image itself in /var/log/manifest
View
@@ -78,7 +78,7 @@ test -f /usr/bin/install || pfexec ln -s /usr/bin/ginstall /usr/bin/install
test -f /usr/bin/pod2man || pfexec ln -s /usr/perl5/5.10.0/bin/pod2man /usr/bin/pod2man
echo "==> Populating projects/ directories..."
-[ ! -d "projects" ] || mkdir -p projects
+[ ! -d "projects" ] && mkdir -p projects
if [ ! -d "projects" ] ; then
echo "FATAL: unable to create projects/ directory."
exit 1
View
@@ -2101,6 +2101,7 @@ d lib/svc/manifest/system/svc 0755 root sys
f lib/svc/manifest/system/svc/global.xml 0444 root sys
f lib/svc/manifest/system/svc/restarter.xml 0444 root sys
f lib/svc/manifest/system/sysevent.xml 0444 root sys
+f lib/svc/manifest/system/sysidtool.xml 0444 root sys
f lib/svc/manifest/system/system-log.xml 0444 root sys
f lib/svc/manifest/system/tsol-zones.xml 0444 root sys
f lib/svc/manifest/system/utmp.xml 0444 root sys
@@ -2881,7 +2882,7 @@ f usr/bin/setpgrp 0555 root sys
f usr/bin/settime 0555 root bin
f usr/bin/setuname 0555 root bin
f usr/bin/sftp 0555 root bin
-s usr/bin/sh=i86/ksh93
+s usr/bin/sh=bash
f usr/bin/shcomp 0555 root bin
f usr/bin/sleep 0555 root bin
f usr/bin/soelim 0555 root bin
@@ -17298,7 +17299,6 @@ d var/svc/manifest/system/device 0755 root sys
d var/svc/manifest/system/filesystem 0755 root sys
d var/svc/manifest/system/security 0755 root sys
d var/svc/manifest/system/svc 0755 root sys
-f var/svc/manifest/system/sysidtool.xml 0444 root sys
d var/svc/profile 0755 root sys
d var/tmp 1777 root sys
d var/tpm 0755 root sys
View
@@ -7,5 +7,5 @@
DUMPADM_DEVICE=/dev/zvol/dsk/zones/dump
DUMPADM_SAVDIR=/var/crash/volatile
DUMPADM_CONTENT=kernel
-DUMPADM_ENABLE=yes
+DUMPADM_ENABLE=no
DUMPADM_CSAVE=on

0 comments on commit de34315

Please sign in to comment.