Building kernel outside of /usr/src (with an unprivileged user)

Eitan Adler lists at eitanadler.com
Mon May 7 16:46:54 UTC 2012


On 1 May 2012 13:02, Matthias Petermann <matthias at d2ux.net> wrote:
> Hello,
>
> while trying to build a patched CURRENT src on a STABLE FreeBSD 9 I was
> wondering if it would be possible to have the source directory (src) in a
> different place from /usr (e.g. in /home/myuser/src) where it can be built
> with an unprivileged user and without interference with the STABLE sources
> in /usr/src.
>
> Does anyone have an idea how to achieve this?

buildkernel and buildworld function without superuser permission. Just
check out the directory in a different and run the typical commands.


-- 
Eitan Adler


More information about the freebsd-questions mailing list