which branch to use?

Dmitri Nikulin dnikulin at optusnet.com.au
Wed Aug 10 03:04:13 PDT 2005

Gordon Bergling wrote:

> Thanks for the information. The rebuild of all sources should be the
> problem. ;)

Why a problem?
Edit /etc/make.conf (copy /etc/defaults/make.conf there if it doesn't
exist), use -O -march=i686 -pipe for CFLAGS (anything more is really

With your source tree in /usr/src (update by running cvsup on
/usr/share/examples/cvsup/DragonFly-preview-supfile, or preferably a
local copy with a mirror instead of the main server), do the following:

cd /usr/src
make buildworld kernel
cd /usr/src
make installworld

This is the super-safe upgrade method. It assumes something between the
kernel and userland may have changed (true for the next -preview),
otherwise just 'make world kernel' is fine.

In small upgrades (i.e. nothing big changed, and you haven't deleted
/usr/obj), 'make quickworld quickkernel' is a lot less work.

Set KERNCONF=(config file of kern in /usr/sys/<arch>/conf) after copying
and configuring GENERIC.

How much BSD experience do you have? If you have come from FreeBSD all
of this should be pretty familiar.

    -Dmitri Nikulin

More information about the Users mailing list