[OBORONA-SPAM] Updating FreeBSD

Andrey Karyagin karjagin at narod.ru
Mon Apr 11 21:56:39 PDT 2005


Kris McElroy пишет:

>First things I am a newb to FreeBSD and have made strides coming from
>windows.  There are a few things that I am unsure about, or need some
>direction on.
>
>I am currently running: FreeBSD 4.11-RELEASE #0 and I would like to make
>sure that it is up to date with all the necessary patches, security fixes,
>etc...   I have read up on CVSup but I am unclear of how to actually use it.
>Can someone give me some examples?  I do not have any xwindow systems
>installed, command line only.
>
>
>
>Thanks,
>
>
>Kris McElroy
>kmcelroy at duracom.net
>
>
>  
>
Here are two files - cvsupfile (copy it to /etc dir) and cvsup-update.sh 
(executable) with comments what you must do after cvs updating.
This procedure cvs update your OS to 4.11-STABLE.

-------------- next part --------------
*default  host=cvsup.ru.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=RELENG_4
*default  delete use-rel-suffix

src-base
src-bin
src-contrib
src-crypto
src-etc
src-games
src-gnu
src-include
src-kerberosIV
src-kerberos5
src-lib
src-libexec
src-release
src-secure
src-sbin
src-share
src-sys
src-tools
src-usrbin
src-usrsbin
*default tag=.
ports-all
doc-all
-------------- next part --------------
#!/bin/sh

if [ -x /usr/local/bin/cvsup ]; then
    /usr/local/bin/cvsup -g -L 2 /etc/cvsupfile
fi

# after it
# cd /usr/src
# make buildworld
# make buildkernel KERNCONF=YOUR_KERNEL_CONFIG_FILE
# make installkernel KERNCONF=YOUR_KERNEL_CONFIG_FILE
# reboot

# cp -R /etc /root
# mergemaster -p
# make installworld
# mergemaster
# reboot


More information about the freebsd-isp mailing list