Date: Mon, 3 May 2004 05:56:09 -0700 (PDT) From: Chris Vance <cvance@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 52133 for review Message-ID: <200405031256.i43Cu9Am009098@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=52133 Change 52133 by cvance@cvance_g5 on 2004/05/03 05:55:27 Begin to update the installation instructions. I'll probably be reworking the build system, so there will be more changes coming. Affected files ... .. //depot/projects/trustedbsd/sedarwin73/bootstrap_instructions.txt#2 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin73/bootstrap_instructions.txt#2 (text+ko) ==== @@ -1,12 +1,12 @@ -XXX: These are still draft install instructions, and known to be +These are still draft install instructions, and known to be potentially flakey. Caution advised, especially near the end. -Step 1: Mac OS X Jaguar 10.2.8 +Step 1: Mac OS X Jaguar 10.3.3 - Install Jaguar from your installation medium. In our environment, - we typically install 10.2.7, then use Software Update to slide - forward to 10.2.8. Currently, Panther and older Jaguar releases - are not supported. + Install Panther from your installation medium. In our environment, + we typically install 10.3.0, then use Software Update to slide + forward to 10.3.3. Currently, older releases are not supported. + The 10.3.3 combined updated is included on the SEDarwin source CD. The instructions assume that / is the root of the system that will have SEdarwin installed. Boot into that partition before @@ -21,7 +21,7 @@ In our environment, this requires installing and configuring the Perforce client, then checking out: - //projects/trustedbsd/sedarwin/... + //projects/trustedbsd/sedarwin73/... The remaining steps will assume that the current working directory at the start of each step is your local checkout of the sedarwin @@ -33,57 +33,17 @@ build tools available from the Apple Open Source web page. These tools are: - bootstrap_cmds-35 + bootstrap_cmds-44 Libstreams-23 - cctools-435.4 + cctools-495.2 - These may also be checked out and installed from the TrustedBSD - Perforce repository using the following paths: + These packages are included on the SEDarwin source CD, as well as a + tarfile containing binaries. - //depot/vendor/apple/darwin/apsl/... + Extract the tarfile into /usr/local on the build system. - Build, install bootstrap_cmds using: - - cd bootstrap_cmds - make ; sudo make install - cd .. - - Copy a header that was left out of the Jaguar header installation: - - sudo cp /usr/include/sys/unistd.h \ - /System/Library/Frameworks/Kernel.framework/Headers/sys/ - - Build, install Libstreams: - - cd Libstreams - make ; sudo make install - cd .. - - In the next step, selected parts of cctools must be built and installed - to allow a Darwin kernel to be built on Mac OS X. First, you must - manually edit cctools/Makefile to replace the COMMON_SUBDIRS - definition with: - - COMMON_SUBDIRS=libstuff libmacho misc - - Next, build these components: - - cd cctools - make RC_OS=macos - - Next, install seg_hack: - - sudo cp misc/seg_hack.NEW /usr/local/bin/seg_hack - - Next, build and install libkld: - - cd ld - make RC_OS=macos kld_build - sudo cp static_kld/libkld.a /usr/local/lib - sudo ranlib /usr/local/lib/libkld.a - cd ../.. - - You now have the missing bits of the Darwin kernel build installed. + cd /usr/local + sudo tar xvzf buildtools_usrlocal.tgz Step 3: Configure TrustedBSD/SEBSD makefiles
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405031256.i43Cu9Am009098>