From owner-freebsd-stable Wed Jun 20 6:16:36 2001 Delivered-To: freebsd-stable@freebsd.org Received: from hotmail.com (f6.law15.hotmail.com [64.4.23.6]) by hub.freebsd.org (Postfix) with ESMTP id 2470C37B401 for ; Wed, 20 Jun 2001 06:16:27 -0700 (PDT) (envelope-from leeroyzz@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 20 Jun 2001 06:16:26 -0700 Received: from 63.221.138.130 by lw15fd.law15.hotmail.msn.com with HTTP; Wed, 20 Jun 2001 13:16:26 GMT X-Originating-IP: [63.221.138.130] From: "Klein B" To: cynic@mail.cz, freebsd-stable@FreeBSD.org Subject: Re: FreeBSD4.3-STABLE Date: Wed, 20 Jun 2001 13:16:26 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 20 Jun 2001 13:16:26.0924 (UTC) FILETIME=[36112EC0:01C0F98B] Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, i know how to compile the kernel, but i never upgrade the freeBSD-release to freeBSD-stable. so... where should i put: # /usr/sbin/config MYKERNEL # cd ../../compile/MYKERNEL # make depend # make # make install into ? or do i have to replace some of my procedure ? Thanks. >From: Cynic >To: "Klein B" ,freebsd-stable@FreeBSD.org >Subject: Re: FreeBSD4.3-STABLE >Date: Wed, 20 Jun 2001 08:12:13 +0200 > >It appears that you haven't actually _read_ the page in >the handbook. you _should_ _read_ it. for example >$ make -x -DVARIABLE target >doesn't mean you should copy that verbatim: > > >In this example, -x is an option that you would pass to make(1). > >See the make(1) manual page for an example of the options you > >can pass. > > > >-DVARIABLE passes a variable to the Makefile. The behavior of > >the Makefile is controlled by these variables. These are the > >same variables as are set in /etc/make.conf, and this provides > >another way of setting them. > > > >target tells make(1) what you want to do. Each Makefile defines > >a number of different ``targets'', and your choice of target > >determines what happens. > >(copied from right below the $ make -x -DVARIABLE target line) > >of course you must update your sources first. cvsup provides >one way this can be done. however, I suggest you practise this >rather nontrivial (for a newcomer) stuff by building a kernel >from the RELEASE sources, i. e. without updating. > >The process is described here: >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html >and can be summarized into this: > ># cd /usr/src/sys/i386/conf ># cp GENERIC MYKERNEL >( edit MYKERNEL to fit your needs) ># /usr/sbin/config MYKERNEL ># cd ../../compile/MYKERNEL ># make depend ># make ># make install > >optionally, or if something goes wrong, you can try to just >rebuild GENERIC to see if your system is in a good shape. > >BTW, lots of good info is in /usr/src/sys/i386/conf/LINT > >At 07:21 20.6. 2001, Klein B wrote the following: >-------------------------------------------------------------- > >Hi, > > > >i'm trying to upgrade FreeBSD4.3-RELEASE to FreeBSD4.3-STABLE. > > > >is right what i'm suppose to do ? > > > >pkg_add -f >\ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/cvsupit.tgz > > > >cd /usr/obj > >chflags -R noschg * > >rm -rf * > > > >script /var/tmp/mw.out > >make TARGET > >exit > > > >cd /usr/src > >make -x -DVARIABLE target > >make -DNOPROFILE=true target > > > >make buildworld > > > >cd /usr/src > >make buildkernel > >make installkernel > > > >/usr/obj/usr/src/usr.sbin/config/config KERNELNAME > >make installworld > > > >make -DNOPROFILE=true buildworld > >make -DNOPROFILE=true installworld > > > >cp -Rp /etc /etc.old > >mkdir /var/tmp/root > >cd /usr/src/etc > >make DESTDIR=/var/tmp/root distrib-dirs distribution > > > >cd /var/tmp/root > >find -d . -type d | xargs rmdir 2>/dev/null > > > >diff /etc/shells /var/tmp/root/etc/shells > > > >mkdir /var/tmp/root-19980214 > >cd /usr/src/etc > >make DESTDIR=/var/tmp/root-19980214 \ > >distrib-dirs distribution > > > > > >cd /var/tmp > >diff -r root-19980214 root-19980221 > > > >rm -rf /var/tmp/root-19980214 > >mkdir /var/tmp/root-`date "+%Y%m%d"` > > > >cp /var/tmp/root/dev/MAKEDEV /dev > >cd /dev > >ls -l | awk '{print $1, $2, $3, $4, $5, $6, $NF}' > /var/tmp/dev.out > > > >sh MAKEDEV all > >diff /var/tmp/dev.out /var/tmp/dev2.out > >sh MAKEDEV sd0s1 > > > >cd /usr/src/release/sysinstall > >make all install > > > >fastboot > > > >Thanks. > > > > > > > > > > > >_________________________________________________________________ > >Get your FREE download of MSN Explorer at http://explorer.msn.com > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-stable" in the body of the message >------end of quote------ > > >cynic@mail.cz >------------- >And the eyes of them both were opened and they saw that their files >were world readable and writable, so they chmoded 600 their files. > - Book of Installation chapt 3 sec 7 > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message