2007-01-22 14:07:05 +01:00
|
|
|
$NetBSD: README.Darwin,v 1.6 2007/01/22 13:07:05 tron Exp $
|
2004-03-11 14:03:58 +01:00
|
|
|
|
2004-04-24 21:22:41 +02:00
|
|
|
If you are using Mac OS X, please read "README.MacOSX" as well.
|
2004-03-11 14:03:58 +01:00
|
|
|
|
|
|
|
Terse instructions:
|
|
|
|
|
2007-01-22 14:07:05 +01:00
|
|
|
$ ./darwindiskimage create ~/Documents/NetBSD 1024 # megabytes - season to taste
|
2006-08-30 06:51:05 +02:00
|
|
|
$ ./darwindiskimage mount ~/Documents/NetBSD
|
2004-03-11 14:03:58 +01:00
|
|
|
$ 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 \
|
2005-04-11 00:03:35 +02:00
|
|
|
--prefix /Volumes/NetBSD/pkg \
|
|
|
|
--pkgdbdir /Volumes/NetBSD/pkgdb
|
2004-03-11 14:03:58 +01:00
|
|
|
|
2004-04-24 21:22:41 +02:00
|
|
|
Note: if you already have a UFS partition, or have a spare partition
|
2004-03-11 14:03:58 +01:00
|
|
|
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.
|
|
|
|
|
2006-08-30 06:51:05 +02:00
|
|
|
You cannot use an ordinary HFS+ file system for pkgsrc, because
|
|
|
|
pkgsrc currently requires the file system to be case-sensitive. You
|
|
|
|
can, however, use a case-sensitive HFS+ file system as found in
|
|
|
|
Darwin 7.0 and newer.
|