CVSROOT:        /cvs
Module name:    www
Changes by:     t...@cvs.openbsd.org    2016/10/06 15:01:06

Modified files:
        faq            : current.html 

Log message:
New build infrastructure, noperm release process

The infrastructure to build the base system from source and to make a
release has changed.  The make build command now MUST be issued by root.
The makefiles will de-escalate privileges to BUILDUSER whenever possible.

Before starting a build, make sure that /usr/obj is empty and owned by
BUILDUSER.  Start the build from /usr/src as follows:

# export BUILDUSER=your-build-user      # only needed the first time
# make obj
# make build

To make a release(8), further setup is required:

* Mount a noperm filesystem on /dest, of size at least 1G, of type ffs
* The /dest mount point must be owned by BUILDUSER, with permissions 700.
* Create directories /dest/base and /dest/xbase owned by BUILDUSER.
* The RELEASEDIR must also be owned by BUILDUSER.

To build a base release, set DESTDIR=/dest/base and to build a xenocara
release, set DESTDIR=/dest/xbase.

Reply via email to