Date: Wed, 07 May 2008 12:16:07 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: "Aryeh M. Friedman" <aryeh.friedman@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: does make buildworld/buildkernel require you to root Message-ID: <87ej8efp9k.fsf@kobe.laptop> In-Reply-To: <482144C8.1080406@gmail.com> (Aryeh M. Friedman's message of "Wed, 07 May 2008 01:57:28 -0400") References: <482144C8.1080406@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 07 May 2008 01:57:28 -0400, "Aryeh M. Friedman" <aryeh.friedman@gmail.com> wrote:
> does make buildworld/buildkernel require you to root? I know installX
> does but build?
No, building everything does not require superuser rights.
I usually build my src/ snapshots as 'build', at /home/build, by
something similar to:
# su - build
build$ MAKEOBJDIRPREFIX=/home/build/obj ; export MAKEOBJDIRPREFIX
build$ rm -fr obj/*
build$ cd src
build$ ( make buildworld && make buildkernel ) 2>&1 | tee ~/logfile
There are a few places where the build path is recorded, i.e. in the
output of uname
# uname -v
FreeBSD 8.0-CURRENT #0: Mon May 5 00:43:56 EEST 2008 build@kobe:/home/build/obj/home/build/src/sys/KOBE
but other than this, there should be nothing that prevents you from
building as any non-root user.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87ej8efp9k.fsf>
