canmove, Confirmed users
6,439
edits
ChrisCooper (talk | contribs) No edit summary |
No edit summary |
||
(26 intermediate revisions by 8 users not shown) | |||
Line 2: | Line 2: | ||
= Darwin Version = | = Darwin Version = | ||
These are the kernel versions we're starting with: | |||
PPC: Darwin xserve03.build.mozilla.org 8.7.2 Darwin Kernel Version 8.7.2: Tue Jul 25 | PPC: Darwin xserve03.build.mozilla.org 8.7.2 Darwin Kernel Version 8.7.2: Tue Jul 25 | ||
Line 7: | Line 9: | ||
Intel: Darwin bm-xserve08.build.mozilla.org 8.8.4 Darwin Kernel Version 8.8.4: Sun Oct 29 15:26:54 PST 2006; root:xnu-792.16.4.obj~1/RELEASE_I386 i386 i386 | Intel: Darwin bm-xserve08.build.mozilla.org 8.8.4 Darwin Kernel Version 8.8.4: Sun Oct 29 15:26:54 PST 2006; root:xnu-792.16.4.obj~1/RELEASE_I386 i386 i386 | ||
= Initial Setup and Account Creation = | |||
# Change the resolution to 1024 x 768, 60 Hz, under System Preferences->Displays. | |||
# Change the password for the administrator user to the standard build system root password. | |||
# Create a new admin-equiv account for the cltbld user using the standard build password. | |||
# Under System Preferences->Sharing->Apple Remote Desktop->Access Privileges change the VNc screen control password to the standard build password. NOTE: your VNC session will drop when you do this. You'll need to reconnect with the new password. | |||
# If the hostname is wrong, e.g. unused-*, use <code>sudo scutil --set HostName new.hostname.mozilla.org</code> to fix it. NOTE: you'll need to restart the machine for this to fully take effect. | |||
# Under System Preferences->Software Update, turn off automatic update checking. | |||
# Using the Workgroup Manager, open the Preferences pane for the cltbld user. Under Software Update, set Manage: to Always, and set the Software Update server to use: as http://bm-xserve01.build.mozilla.org:8088/ | |||
= ssh = | = ssh = | ||
Line 13: | Line 25: | ||
Two possible solutions are: | Two possible solutions are: | ||
# checkout the cltbld ssh keys on a machine that already has the keys installed and then scp the .ssh directory over (<code> | # checkout the cltbld ssh keys on a machine that already has the keys installed and then scp the .ssh directory over (<code>ocvs -d :ext:cltbld@cvs.mozilla.org:/mofo co -d .ssh release/tinderbox-configs/host/ssh; scp -r .ssh new_machine:~</code>) | ||
# scp the cltbld keys over directly from a machine that already has them installed (<code>cd ~;scp -r xserve06:~/.ssh .</code>) | # scp the cltbld keys over directly from a machine that already has them installed (<code>cd ~;scp -r xserve06:~/.ssh .</code>) | ||
Line 35: | Line 47: | ||
039b8961863bd240817a6eed38f67704 dports.tar.gz | 039b8961863bd240817a6eed38f67704 dports.tar.gz | ||
1d89f956ea2ee3a248449c3c0e0d6834 xcode_2.2.1_8g1165_018213632.dmg | 1d89f956ea2ee3a248449c3c0e0d6834 xcode_2.2.1_8g1165_018213632.dmg | ||
3f02477e0df2a3bc53d02fe0824c0015 chud_4.5.0.dmg | |||
= Installing Xcode = | = Installing Xcode = | ||
Line 41: | Line 54: | ||
# When it comes time to choose the '''Installation Type''', choose "Customize" | # When it comes time to choose the '''Installation Type''', choose "Customize" | ||
# Under "Cross-Development," select all the available SDKs, and then click "Install" | # Under "Cross-Development," select all the available SDKs, and then click "Install" | ||
= Installing CHUD = | |||
# Mount the CHUD disk image, install the CHUD.mpkg | |||
= Installing DarwinPorts = | = Installing DarwinPorts = | ||
* Install the DarwinPorts package. | * Install the DarwinPorts package from ref platform version 1.3.1-10.4 | ||
* Unpack the dport tarball of packages and move them into place: | * Unpack the dport tarball of packages and move them into place: | ||
cd ~ref-platforms/mac | cd ~/ref-platforms/mac | ||
tar zxf dports.tar.gz | tar zxf dports.tar.gz | ||
cd /opt/local/var | cd /opt/local/var | ||
Line 81: | Line 99: | ||
# Open the SharedMenusCocoa image. | # Open the SharedMenusCocoa image. | ||
# Copy the SharedMenusCocoa.framework directory from SharedMenusCocoa/build to /Library/Frameworks | # Copy the SharedMenusCocoa.framework directory from SharedMenusCocoa/build to /Library/Frameworks | ||
# Follow [http:// | # Follow [http://wiki.caminobrowser.org/Development:Building the instructions on the Camino build reference page] for creating the links in the older SDKs. If you are building on an Intel Mac or need to build a Universal Camino, you will also need to follow the instructions for recompiling a UB version of the framework. NOTE: make sure you have the SharedMenusCocoa.framework linked under <em>ALL</em> your SDKs (including 10.4) just to be safe. | ||
= chown scripts = | = chown scripts = | ||
Line 96: | Line 114: | ||
cd /builds/tinderbox/bin | cd /builds/tinderbox/bin | ||
chmod 4755 chown* | chmod 4755 chown* | ||
sudo chown root chown* | |||
ln -s chown_revert revert_root | ln -s chown_revert revert_root | ||