NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: optimum building distribution commands



On Thu, Jun 12, 2014 at 06:57:11PM +0200, Riccardo Mottola wrote:
> Hi,
> 
> to build my NetBSD distribution from current I do:
> 
>  ./build.sh -O ../obj -T ../tools -U -x distribution
> sudo ./build.sh -O ../obj -T ../tools -U -x install=/
> 
> However, I notice that the second command essentially seems to recompile
> everything, it takes a looong time (as in hours). Am I doing something
> wrong, or do I miss some option? I'd ideally build as user and then just
> install with sudo.

you're missing the -u option.
Also, if you have a multi-core box, you can use -j<some number>

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index