A few different people have told me different ways here, don't wanna risk screwing it up. I cvsupped with stable-supfile and ports-supfile, now I'm doing make buildworld. Now, the way I was going to do it was after the buildworld, make buildkernel KERNCONF=MILOWARE, then make installkernel=MILOWARE, then a restart. After that doing make installworld then mergemaster. Is this right? Thanks, Jacob
On Sun, Sep 21, 2003 at 08:19:31PM +1000, Jacob wrote:> A few different people have told me different ways here, don't wanna risk > screwing it up. > > I cvsupped with stable-supfile and ports-supfile, now I'm doing make > buildworld. Now, the way I was going to do it was after the buildworld, make > buildkernel KERNCONF=MILOWARE, then make installkernel=MILOWARE, then a > restart. After that doing make installworld then mergemaster. > > Is this right?Pretty much. The generally accepted sequence is: # make buildworld buildkernel KERNCONF=MILOWARE (or you can do those as separate make commands if you wish: makes no difference either way.) # make installkernel KERNCONF=MILOWARE # shutdown -r now (wait for the system to start coming back up, and interrupt the boot process at the 10 second countdown by hitting the 'any' key... Now, boot into single user mode. 'ok' is the prompt from the boot manager, which should give you a warm'n'cozy feeling if you're used to Sun hardware...) ok boot -s (Various output will scroll past. When prompted for what shell to run, just hit return) # fsck -p # swapon -a # mount -a # cd /usr/src # make installworld # mergemaster # reboot Et voila. One tip that's pretty useful is to stick the 'KERNCONF=MILOWARE' bit into your /etc/make.conf file. That way you don't need to keep typing it on the command line. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20030921/0cf343f3/attachment.bin
Hi.> after the buildworld, make > buildkernel KERNCONF=MILOWARE, then make > installkernel=MILOWARE, then a > restart. After that doing make installworld then > mergemaster. > > Is this right? >/usr/src/Makefile has a nice explanation at the top. regards Claus Yahoo! Mail (http://dk.mail.yahoo.com) - Gratis: 6 MB lagerplads, spamfilter og virusscan
At 2003-09-21 10:19:31+0000, "Jacob" writes:> A few different people have told me different ways here, don't wanna risk > screwing it up. > > I cvsupped with stable-supfile and ports-supfile, now I'm doing make > buildworld. Now, the way I was going to do it was after the > buildworld, make buildkernel KERNCONF=MILOWARE, then make > installkernel=MILOWARE, then a restart. After that doing make > installworld then mergemaster. > > Is this right?The right thing to do is *always* this: 0. Subscribe to -stable. Do not upgrade if there's a firestorm on being reported on -stable. 1. cvsup. 2. Read /usr/src/UPDATING. 3. Follow the instructions there. Note that this cannot be automated. Nick B
On Tue, Sep 23, 2003 at 09:25:10AM -0700, Doug White wrote:> On Tue, 23 Sep 2003, Jim C. Nasby wrote: > > > I think a far better solution would be to give mergemaster the ability > > to compare files to the version in CVS as reported by the $FreeBSD$ tag. > > In 99% of cases, there is no CVS repo to compare against.Huh? What about the main FBSD CVS repository? -- Jim C. Nasby, Database Consultant jim@nasby.net Member: Triangle Fraternity, Sports Car Club of America Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?"
In message: <20030923092434.U86981@carver.gumbysoft.com> Doug White <dwhite@gumbysoft.com> writes: : On Tue, 23 Sep 2003, Jim C. Nasby wrote: : : > I think a far better solution would be to give mergemaster the ability : > to compare files to the version in CVS as reported by the $FreeBSD$ tag. : : In 99% of cases, there is no CVS repo to compare against. I just wish there was a mode that would manage the FreeBSD files as a vendor branch and merge my local changes as a new vendor branch import happens... Warner