Date: Wed, 20 Jun 2001 13:16:26 -0000 From: "Klein B" <leeroyzz@hotmail.com> To: cynic@mail.cz, freebsd-stable@FreeBSD.org Subject: Re: FreeBSD4.3-STABLE Message-ID: <F6o8Xu1njpuP2GbwZLA0001261f@hotmail.com>
next in thread | raw e-mail | index | archive | help
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 <cynic@mail.cz> >To: "Klein B" <leeroyzz@hotmail.com>,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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F6o8Xu1njpuP2GbwZLA0001261f>