Date: Tue, 15 Apr 2014 12:38:22 -0400 From: Thomas Hoffmann <trh411@gmail.com> To: jungleboogie0 <jungleboogie0@gmail.com> Cc: Mike Casper <mikecspr@gmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: make installworld failed Message-ID: <CAB7-odkygDkkLKt96kPH=kRBrx0O%2BhfG=KctrM0Ek1yVnEaNBg@mail.gmail.com> In-Reply-To: <CAKE2PDtLT6GR1Af0HWW61thmLqp-1HRhh7kOxmYYQnJ8-cjxfA@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> <CAKE2PDtLT6GR1Af0HWW61thmLqp-1HRhh7kOxmYYQnJ8-cjxfA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 15, 2014 at 12:34 AM, jungleboogie0 <jungleboogie0@gmail.com>wrote: > 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. > Well, it depends on how often you build. I build a new -CURRENT almost every night. For the first build of each month I do a full 'buildworld'. For every 'buildworld' after that I use NO_CLEAN since I'm pulling in a relatively small amount of updates. Depending on the updates, I can complete a 'buildworld' in 15-30 minutes using NO_CLEAN, whereas a full 'buildworld' takes 2-21/2 hours. So doing a 'buildworld' with NO_CLEAN makes sense for me given my build frequency. However, if you are building only say once a month or less, then I would recommend a full 'buildworld' every time since you will be pulling in a fairly large number of updates. In your #1, did you mean -j4? -j4 is what the Handbook recommends for most cases. -Tom
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB7-odkygDkkLKt96kPH=kRBrx0O%2BhfG=KctrM0Ek1yVnEaNBg>