pullup #2873
[pkgsrc.git] / bootstrap / README.Darwin
1 $NetBSD: README.Darwin,v 1.6 2007/01/22 13:07:05 tron Exp $
2
3 If you are using Mac OS X, please read "README.MacOSX" as well.
4
5 Terse instructions:
6
7 $ ./darwindiskimage create ~/Documents/NetBSD 1024  # megabytes - season to taste
8 $ ./darwindiskimage mount ~/Documents/NetBSD
9 $ sudo chown `id -u`:`id -g` /Volumes/NetBSD
10 $ curl -O \
11     ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/pkgsrc.tar.gz
12 $ tar -C /Volumes/NetBSD -zxvf pkgsrc.tar.gz && rm pkgsrc.tar.gz
13 $ sudo ./bootstrap \
14     --prefix /Volumes/NetBSD/pkg \
15     --pkgdbdir /Volumes/NetBSD/pkgdb
16
17 Note: if you already have a UFS partition, or have a spare partition
18 that you can format as UFS, use that instead of the UFS disk image.
19 It'll be somewhat faster and will mount automatically at boot time.
20
21 You can use an ordinary HFS+ file system for pkgsrc; pkgsrc now works
22 fine with both case-sensitive and case-insensitive file systems.