From owner-p4-projects@FreeBSD.ORG Mon May 3 05:56:10 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 152C916A4D0; Mon, 3 May 2004 05:56:10 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC32616A4CE for ; Mon, 3 May 2004 05:56:09 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C4ED43D5C for ; Mon, 3 May 2004 05:56:09 -0700 (PDT) (envelope-from cvance@nailabs.com) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i43Cu9Ge009101 for ; Mon, 3 May 2004 05:56:09 -0700 (PDT) (envelope-from cvance@nailabs.com) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i43Cu9Am009098 for perforce@freebsd.org; Mon, 3 May 2004 05:56:09 -0700 (PDT) (envelope-from cvance@nailabs.com) Date: Mon, 3 May 2004 05:56:09 -0700 (PDT) Message-Id: <200405031256.i43Cu9Am009098@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to cvance@nailabs.com using -f From: Chris Vance To: Perforce Change Reviews Subject: PERFORCE change 52133 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2004 12:56:10 -0000 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