ReferencePlatforms/Mac-10.6: Difference between revisions
Jump to navigation
Jump to search
(Created page with '__TOC__ = ***DRAFT*** Reference Image Info ***DRAFT*** = [https://wiki.mozilla.org/Mac:64BitRelEng https://wiki.mozilla.org/Mac:64BitRelEng]') |
mNo edit summary |
||
| Line 3: | Line 3: | ||
= ***DRAFT*** Reference Image Info ***DRAFT*** = | = ***DRAFT*** Reference Image Info ***DRAFT*** = | ||
[https://wiki.mozilla.org/Mac:64BitRelEng https://wiki.mozilla.org/Mac:64BitRelEng] | [https://wiki.mozilla.org/Mac:64BitRelEng https://wiki.mozilla.org/Mac:64BitRelEng] | ||
== Initial Setup and Account Creation == | |||
# Change the resolution to 1024 x 768, 60 Hz, Millions of Colours, under System Preferences->Displays ('''this is changed later''') | |||
# 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->Screen Sharing->Computer Settings 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/ - NEED TO FIGURE THIS OUT | |||
== Ref platform packages == | |||
Helpfully, OS X doesn't have CVS out of the box, so retrieve the Mac reference platform packages on another machine: | |||
cvs -d :ext:cltbld@cvs.mozilla.org:/mofo co ref-platforms/mac/chud_4.5.0.dmg | |||
cvs -d :ext:cltbld@cvs.mozilla.org:/mofo co ref-platforms/mac/macports-10.5.tar.bz2 | |||
cvs -d :ext:cltbld@cvs.mozilla.org:/mofo co ref-platforms/mac/MacPorts-1.6.0-10.5-Leopard.dmg | |||
cvs -d :ext:cltbld@cvs.mozilla.org:/mofo co ref-platforms/mac/xcode_3.0.dmg | |||
This should yield 4 files with md5sums: | |||
3f02477e0df2a3bc53d02fe0824c0015 chud_4.5.0.dmg | |||
514e818170147c3851820defb6151ee1 macports-10.5.tar.bz2 | |||
5cbae915b67f7d06576d544b83303714 MacPorts-1.6.0-10.5-Leopard.dmg | |||
e6ce732e203511c9d3102b027a8d89a8 xcode_3.0.dmg | |||
Then transfer them to the machine you are setting up. ('''We switch to xcode 3.1 later''') | |||
== Installing Xcode == | |||
# Mount the Xcode disk image, and begin installing the XcodeTools.mpkg. | |||
# A standard install is fine (we don't need 10.3.9 support or WebObjects). | |||
* Make sure to install the 10.5 SDK, as it is not installed by default. | |||
* CHUD is now installed by default | |||
== Installing MacPorts == | |||
* Install MacPorts-1.8.2 and the following MacPorts packages... | |||
** mercurial | |||
** libidl | |||
** autoconf213 | |||
== Current Changes for Compile == | |||
Currently the configs/mozilla2-staging/macosx/mozilla-central/nightly/mozconfig needs to have the universal mozconfig import removed: | |||
sed -i -e "s/. \$topsrcdir\/build\/macosx\/universal\/mozconfig//" build/.mozconfig | |||
Revision as of 00:31, 5 March 2010
***DRAFT*** Reference Image Info ***DRAFT***
https://wiki.mozilla.org/Mac:64BitRelEng
Initial Setup and Account Creation
- Change the resolution to 1024 x 768, 60 Hz, Millions of Colours, under System Preferences->Displays (this is changed later)
- 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->Screen Sharing->Computer Settings 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
sudo scutil --set HostName new.hostname.mozilla.orgto 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/ - NEED TO FIGURE THIS OUT
Ref platform packages
Helpfully, OS X doesn't have CVS out of the box, so retrieve the Mac reference platform packages on another machine:
cvs -d :ext:cltbld@cvs.mozilla.org:/mofo co ref-platforms/mac/chud_4.5.0.dmg cvs -d :ext:cltbld@cvs.mozilla.org:/mofo co ref-platforms/mac/macports-10.5.tar.bz2 cvs -d :ext:cltbld@cvs.mozilla.org:/mofo co ref-platforms/mac/MacPorts-1.6.0-10.5-Leopard.dmg cvs -d :ext:cltbld@cvs.mozilla.org:/mofo co ref-platforms/mac/xcode_3.0.dmg
This should yield 4 files with md5sums:
3f02477e0df2a3bc53d02fe0824c0015 chud_4.5.0.dmg 514e818170147c3851820defb6151ee1 macports-10.5.tar.bz2 5cbae915b67f7d06576d544b83303714 MacPorts-1.6.0-10.5-Leopard.dmg e6ce732e203511c9d3102b027a8d89a8 xcode_3.0.dmg
Then transfer them to the machine you are setting up. (We switch to xcode 3.1 later)
Installing Xcode
- Mount the Xcode disk image, and begin installing the XcodeTools.mpkg.
- A standard install is fine (we don't need 10.3.9 support or WebObjects).
- Make sure to install the 10.5 SDK, as it is not installed by default.
- CHUD is now installed by default
Installing MacPorts
- Install MacPorts-1.8.2 and the following MacPorts packages...
- mercurial
- libidl
- autoconf213
Current Changes for Compile
Currently the configs/mozilla2-staging/macosx/mozilla-central/nightly/mozconfig needs to have the universal mozconfig import removed:
sed -i -e "s/. \$topsrcdir\/build\/macosx\/universal\/mozconfig//" build/.mozconfig