Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2014 21:34:38 -0700
From:      jungleboogie0 <jungleboogie0@gmail.com>
To:        Thomas Hoffmann <trh411@gmail.com>
Cc:        Mike Casper <mikecspr@gmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: make installworld failed
Message-ID:  <CAKE2PDtLT6GR1Af0HWW61thmLqp-1HRhh7kOxmYYQnJ8-cjxfA@mail.gmail.com>
In-Reply-To: <CAB7-odk-v2h3q2T23usOMEBufQhndCPT=C6=WVY71w-btXXAqw@mail.gmail.com>
References:  <CA%2BpHiQCAZh%2BuOCK5pqPNPq5MSipKQm3G=7mcbxK4ECPQ=Awf-g@mail.gmail.com> <CAB7-odnFG6Cddjd3sWj2sgCTE-wfhOHFEDA-95FSG4mV28kjZg@mail.gmail.com> <CA%2BpHiQCoTeAuX8FeMQX40NfOU1CzgyNrzCzuvphMCKotJM245Q@mail.gmail.com> <CAB7-odk-v2h3q2T23usOMEBufQhndCPT=C6=WVY71w-btXXAqw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Thomas,
On 14 April 2014 19:46, Thomas Hoffmann <trh411@gmail.com> wrote:
> On Mon, Apr 14, 2014 at 10:17 PM, Mike Casper <mikecspr@gmail.com> wrote:
>
>>
>> Without rebooting and in single user mode, is it ok to 'rm -rf /usr/src'
>> and 'rm -rf /usr/obj' then 'svn checkout
>> https://svn0.us-east.FreeBSD.org/base/stable /usr/src and restart from the
>> beginning of the handbook procedure list?
>>
>> Thanks
>
>
> Here is what I would do:
>
> 1) svn update /usr/src
>      This will update your working copy of the repository ... lots faster
> than a whole new checkout
> 2) make -j4 -DNO_CLEAN buildworld
>      Using -DNO_CLEAN will keep everything from the last 'make buildworld'
> and rebuild only what is required given the source tree updates, which will
> be lots faster than a full 'make buildworld'.
> 3) Continue with 'make buildkernel' etc. etc. as in the Handbook
>

I build 10 stable generic. Would this work with 10-stable as opposed
to 11 current?

Currently my procedure is:
0.# cd /usr/src && svn update
1.# make -j `sysctl -n hw.ncpu` buildworld
2.# make -j `sysctl -n hw.ncpu` buildkernel
3.# make installkernel
4.# reboot
5.# cd /usr/src
6.# mergemaster -p
7.# make installworld
8.# mergemaster -iUF
9.# yes | make delete-old
10.# yes | make delete-old-libs
11.# cd /usr/obj && chflags -R noschg * && rm -rf *
12.# reboot


and my system is also a tortoise. You recommend I insert your steps
directly after the update?

do you recommend any other changes to my procedure above? My builds
generally also take
2-3 hours also.


> -Tom

-Jungle
-- 
-------
inum: 883510009027723
sip: jungleboogie@sip2sip.info
xmpp: jungle-boogie@jit.si



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKE2PDtLT6GR1Af0HWW61thmLqp-1HRhh7kOxmYYQnJ8-cjxfA>