summaryrefslogtreecommitdiff
path: root/bootstrap/README.Darwin
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/README.Darwin')
-rw-r--r--bootstrap/README.Darwin33
1 files changed, 33 insertions, 0 deletions
diff --git a/bootstrap/README.Darwin b/bootstrap/README.Darwin
new file mode 100644
index 00000000000..1aeb9b32975
--- /dev/null
+++ b/bootstrap/README.Darwin
@@ -0,0 +1,33 @@
+$NetBSD: README.Darwin,v 1.1.1.1 2004/03/11 13:03:58 grant Exp $
+
+If you are using Mac OS X:
+Before you start, you will need to download and install the Mac OS X Developer
+Tools from Apple's Developer Connection. See http://developer.apple.com/macosx/
+for details. Also, make sure you install X11 for Mac OS X and the X11 SDK from
+http://www.apple.com/macosx/x11/download/ if you intend to build packages
+that use the X11 Window System.
+
+Terse instructions:
+
+$ ./ufsdiskimage create ~/Documents/NetBSD 512 # megabytes - season to taste
+$ ./ufsdiskimage mount ~/Documents/NetBSD
+$ sudo chown `id -u`:`id -g` /Volumes/NetBSD
+$ curl -O \
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/pkgsrc.tar.gz
+$ tar -C /Volumes/NetBSD -zxvf pkgsrc.tar.gz && rm pkgsrc.tar.gz
+$ sudo ./bootstrap \
+ --prefix=/Volumes/NetBSD/pkg \
+ --pkgdbdir=/Volumes/NetBSD/pkgdb \
+ --pkgsrcdir=/Volumes/NetBSD/pkgsrc
+
+Note: if you already have a UFS partition, or have a spare partition[*]
+that you can format as UFS, use that instead of the UFS disk image.
+It'll be somewhat faster and will mount automatically at boot time.
+
+(Why can't you just use the HFS+ filesystem you've already got?
+Because pkgsrc currently requires the underlying filesystem to be
+case-sensitive, and HFS+ isn't.)
+
+[*] - If the partition you want to convert to UFS from HFS+ under
+Mac OS X is on the boot disk, then the disk tools won't do anything
+with it. See "README.MacOSX".