DragonFly BSD
DragonFly kernel List (threaded) for 2004-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Some questions on updating.


From: Sarunas Vancevicius <vsarunas@xxxxxxxxxx>
Date: Sat, 7 Aug 2004 17:53:30 +0100

On 04:43, Sat 07 Aug 04, K. G. Suarez wrote:
> Hi everyone.
> 
> Would doing the following be the correct way to update a system?
> 
> cvsup /usr/share/examples/cvsup/DragonFly-supfile
> cd /usr
> cvs -R -d /home/dcvs checkout src
> cvs -R -d /home/dcvs checkout dfports
> cvsup -h cvsup.freebsd.org /usr/share/examples/cvsup/FreeBSD-ports-supfile
           ^^^^^^^^^^^^^^^^^

Better off using a mirror near you, see this for the list of
mirrors:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#HANDBOOK-MIRRORS-CHAPTER-SGML-MIRRORS-US-CVSUP

And add your mirror to FreeBSD-ports-supfile, so you
wouldn't need to use -h flag every time you run cvsup.

See the refuse file section(it tells cvsup which directories
not to be updated). Mine looks like this:

doc/es*
doc/ja*
doc/ru*
doc/zh*
doc/fr*
ports/chinese*
ports/german*
ports/japanese*
ports/korean*
ports/russian*
ports/vietnamese*
ports/hebrew*
ports/arabic*
ports/french*
ports/hungarian*
www/es*
www/ja*
www/ru*
www/zh*
data/es*
data/ja*
data/ru*
data/zh*
www/data/es*
www/data/ja*
www/data/ru*
www/data/zh*
src/share/doc/es*
src/share/doc/ja*
src/share/doc/ru*
src/share/doc/zh*

Add it to /usr/sup/refuse.

> cd /usr/src
> make buildworld
> make installworld
> cd /usr/src
  ^^^^^^^^^^^
No need to do this, because you are already in /usr/src, if
not sure do pwd(1).

> make buildkernel KERNCONF=GENERIC
> make installkernel KERNCONF=GENERIC

You might also want to configure your kernel(removing device
drivers that you don't need).

> Also, how often should I update my system?

Depends, I usually rebuild world every few weeks(depends on
the changes that were made to the user land), kernel more
often, every 1 or 2 weeks.

Subscribe the commits mailing list, or take an occasional
peek to nntp.dragonflybsd.org with your newsreader (slrn,
tin, pan, knode, sylpheed, thunderbird, etc...) to see what
has changed over a last week or so is useful.

Have fun with dfly!

-- 
Sarunas Vancevicius



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]