From owner-freebsd-stable Thu Feb 8 11:19:49 2001 Delivered-To: freebsd-stable@freebsd.org Received: from nanguo.chalmers.com.au (gateway.chalmers.com.au [203.1.96.1]) by hub.freebsd.org (Postfix) with ESMTP id 6575037B65D for ; Thu, 8 Feb 2001 11:19:25 -0800 (PST) Received: from carbon (carbon.chalmers.com.au [203.1.96.26]) by nanguo.chalmers.com.au (8.11.0/8.11.0) with SMTP id f18JEko03363; Fri, 9 Feb 2001 05:14:49 +1000 (EST) From: "Robert" To: "Cliff Sarginson" , , "FreeBSD" Subject: RE: I think I understand how I stay STABLE now, without a lot of hassel! correct me if I'm wrong. Date: Fri, 9 Feb 2001 05:14:04 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is what I use now. given to me by the poster... Jim levie. It's excellent. =================================== >From: "Jim Levie" >Subject: Re: need cvsupfile conf for 4 to 4.2 Newbie to cvsup... >Date: Sunday, 4 February 2001 4:21 AM >In article , "Merlin" > wrote: > I have the Kernel Developer+User Stable 4.0 installed (no X11), and am > trying to figure out what to put in the cvsup file to update it to 4.2 > Stable. Then there is a set of instructions like make world ???? I > believe. One thing at a time, so if anyone can help me out with a > suitable conf file, and any instructions etc... to grab the updated > stuff to get to > 4.2, I'd sure be grateful. > > > I've read the spots off the Handbook and everyting else, but the more I > read the more confusing it gets!!!! It may not be the most ideal, but I have the following in my supfile: kept in the directory, /usr/local/etc/cvsup ....................................... #*default host=cvsup6.FreeBSD.org *default host=cvsup3.FreeBSD.org *default base=/usr/local/etc/cvsupfile *default prefix=/usr *default release=cvs *default tag=RELENG_4 *default delete use-rel-suffix # Don't use compress on a T1 or faster #*default compress ## Get all Sources # src-all src-crypto src-secure *default tag=. ## Get all Ports # ports-all ## Get the Documentation # doc-all From where I am I seems to get the best responce from cvsup3, but sometimes it's too busy and I use cvsup6. With both listed in the supfile I just comment out one and enable the other. Also I'm not sure if src-crypto and/or src-secure is needed any more or not. If they aren't necessary their presence doesn't seem to cause any problems. One other thing that I do is to have a refuse file containing: ports/chinese ports/french ports/german ports/hebrew ports/japanese ports/korean ports/russian ports/vietnamese doc/de* doc/es* doc/fr* doc/ja* doc/nl* doc/ru* doc/zh* So that I only get the EN stuff. That reduces the disk useage slightly and correspondingly cuts the time required to cvsup. I keep my cvsup and release file in /usr/sup and run the cvsup with "cvsup /usr/sup/supfile". My /etc/make.conf looks like: USA_RESIDENT=YES CFLAGS= -O -pipe NOPROFILE= true NOGAMES= true # do not build games (games/ subdir) I don't know if USA_RESIDENT does anything any more or not now that the export restrictions on the crypto stuff have been lifted. It's there, everything works, and I'm not inclined to take it out until I see confirmation that it isn't needed. Once you have everything cvsup'd, you use what you've gotten by: # cd /usr/src # make buildworld # make installworld # make buildkernel KERNEL=MY_KERNEL # make installkernel KERNEL=MY_KERNEL If you haven't built a custom kernel on your current installation you can replace MY_KERNEL with GENERIC. If you have a custom kernel config, check to make sure that what you have in your kernel config file is still valid by looking at GENERIC and/or LINT. The last step is to merge in the new /etc stuff and that is most easily done with mergemaster. It will remind you to re-make the /dev stuff and don't forget to do so. -- The instructions said to use Windows 98 or better, so I installed FreeBSD. ..................... cheers Robert > -----Original Message----- > From: owner-freebsd-stable@FreeBSD.ORG > [mailto:owner-freebsd-stable@FreeBSD.ORG]On Behalf Of Cliff Sarginson > Sent: Thursday, 8 February 2001 10:35 PM > To: igorr@crosswinds.net; FreeBSD > Subject: Re: I think I understand how I stay STABLE now, without a lot > of hassel! correct me if I'm wrong. > > > > On Thu, Feb 08, 2001 at 04:35:00PM +1000, Robert wrote: > > > What it does mean is that even if one does a cvsup on a > weekly basis say, > > > then the _sources_ are always up to date, and IF one then > needs to do an > > > update/upgrade/kernel build whatever, then one is always > using the latest > > > sources. Now THAT makes sense. So I can go ahead an set up a > cron job, that > > > simply calls the cvsup/supfile say once a week. > > Can you give this dummy (I mean me!) the command line for that.. > I find myself in a lot of confusion about this.. *sigh* > > Cliff > > > Edit /etc/weekly.local and you don't need setup cronjob. > > > > -- > > Igor Robul, Unix System Administrator & Programmer @ sanatorium > "Raduga", > > Sochi, Russia > > http://www.brainbench.com/transcript.jsp?pid=304744 > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-stable" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message