summaryrefslogtreecommitdiff
path: root/bootstrap/README.FreeBSD
blob: 8663c639f8fb00f42f9cd2f25647641e58c96ebc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: README.FreeBSD,v 1.10 2021/10/31 09:26:49 nia Exp $

Please read the general README file as well.

On legacy releases (9.3 and prior), care should be taken so that the tools
installed by this kit do not conflict with the tools already provided as part of
the FreeBSD userland.

If you do not intend to use the FreeBSD ports tools (on 9.3 and prior), it may be a
good idea to move them out of the way to avoid confusion, e.g.:
	cd /usr/sbin
	mv pkg_add pkg_add.orig
	mv pkg_create pkg_create.orig
	mv pkg_delete pkg_delete.orig
	mv pkg_info pkg_info.orig

Alternatively, take care to get pkgsrc tools first in PATH.

This is not an issue with releases of FreeBSD which solely support pkgng such as
10.0-RELEASE and newer.

Currently bootstrap is only supported using the compiler shipped in base and not
a version of GCC installed from ports, clang from ports is untested.

bootstrap-pkgsrc has been tested on FreeBSD 12-13.

For unprivileged bootstraps, note that /home on FreeBSD is a symlink to /usr/home.
Use --unprivileged --prefix /usr/home/youruser.