Merge from vendor branch TNF:
[pkgsrcv2.git] / bootstrap / README.Darwin
1 $NetBSD: README.Darwin,v 1.3 2004/05/11 02:19:48 schmonz Exp $
2
3 If you are using Mac OS X, please read "README.MacOSX" as well.
4
5 Terse instructions:
6
7 $ ./ufsdiskimage create ~/Documents/NetBSD 512  # megabytes - season to taste
8 $ ./ufsdiskimage 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 (Why can't you just use the HFS+ filesystem you've already got?
22 Because pkgsrc currently requires the underlying filesystem to be
23 case-sensitive, and HFS+ isn't.)