canmove, Confirmed users
6,439
edits
ChrisCooper (talk | contribs) |
No edit summary |
||
(30 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 | ||
23:14:47 PDT 2006; root:xnu-792.10.96.obj~3/RELEASE_PPC Power Macintosh powerpc | 23:14:47 PDT 2006; root:xnu-792.10.96.obj~3/RELEASE_PPC Power Macintosh powerpc | ||
Intel: | 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 14: | 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 32: | Line 43: | ||
This should yield 4 files: | This should yield 4 files: | ||
e6d9176e0b56a4dfaff7aa6e98335a88 DarwinPorts-1.3.1-10.4.dmg | |||
65c3aeb974f5f8c75b8daa92c9185122 SharedMenusCocoa.dmg | 65c3aeb974f5f8c75b8daa92c9185122 SharedMenusCocoa.dmg | ||
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 43: | Line 55: | ||
# 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 DarwinPorts | = Installing CHUD = | ||
# Mount the CHUD disk image, install the CHUD.mpkg | |||
= Installing DarwinPorts = | |||
* 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 82: | 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 97: | 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 | ||
Line 106: | Line 124: | ||
ssh -2 -f -L2222:hal:22 stage.mozilla.org sleep 20;ssh -2 -p2222 -l symbols localhost pwd | ssh -2 -f -L2222:hal:22 stage.mozilla.org sleep 20;ssh -2 -p2222 -l symbols localhost pwd | ||
ssh -i /Users/cltbld/.ssh/aus cltbld@aus2-staging.mozilla.org pwd | ssh -i /Users/cltbld/.ssh/aus cltbld@aus2-staging.mozilla.org pwd | ||
= Mail config = | |||
You'll need to update the postfix config to make sure that <code>myhostname</code> is set correctly and that large messages can be sent. The tail of <code>/etc/postfix/main.cf</code> should look similar to: | |||
myhostname = bm-xserve08.build.mozilla.org | |||
mailbox_transport = cyrus | |||
# Allow large messages (unlimited size, required for tinderbox) | |||
message_size_limit = 0 | |||
You'll then want to restart postfix to pick up the changes. |