Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jul 2011 03:40:48 +0200
From:      Polytropon <freebsd@edvax.de>
To:        freebsd-questions@herveybayaustralia.com.au
Cc:        freebsd-questions@freebsd.org
Subject:   Re: atheros 9285 wifi
Message-ID:  <20110714034048.02abfaad.freebsd@edvax.de>
In-Reply-To: <61738.1310607428@herveybayaustralia.com.au>
References:  <61738.1310607428@herveybayaustralia.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 Jul 2011 11:37:08 +1000, freebsd-questions@herveybayaustralia.com.au wrote:
>  I'm running release, though. I'm not exactly cvs proficient, I prefer
> subversion- just installing it is a PITA atm- so how do I bring in the
> stable version of the driver?

Here's an approach that works quite well:

First add to /etc/make.conf:

	SUP_UPDATE=yes
	SUP=/usr/bin/csup
	SUPFLAGS=-g -L 2
	SUPHOST=cvsup.freebsd.org
	SUPFILE=/etc/sup/stable.sup

Then create the /etc/sup directory, and in it, create the
file /etc/sup/stabe.sup with the following content:

	*default host=cvsup.freebsd.org
	*default base=/var/db
	*default prefix=/usr
	*default release=cvs tag=RELENG_8
	*default delete use-rel-suffix
	*default compress
	src-all

The setting RELENG_8 will bring you the latest 8-STABLE.

Maybe you should replace the servers with something near
your location for better speed.

Then, as root:

	# cd /usr/src
	# make update

and you've got the current sources.



> I'm assuming also, then, that I will have to recompile my kernel won't
> I?

Of course, and kernel and world have to be in sync, so building
world is also needed. See the instructions in the Makefile's
comment section:

# For individuals wanting to upgrade their sources (even if only a
# delta of a few days):
#
#  1.  `cd /usr/src'       (or to the directory containing your source tree).
#  2.  `make buildworld'
#  3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE'     (default is GENERIC).
#  4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
#       [steps 3. & 4. can be combined by using the "kernel" target]
#  5.  `reboot'        (in single user mode: boot -s from the loader prompt).
#  6.  `mergemaster -p'
#  7.  `make installworld'
#  8.  `make delete-old'
#  9.  `mergemaster'                         (you may wish to use -U or -ai).
# 10.  `reboot'
# 11.  `make delete-old-libs' (in case no 3rd party program uses them anymore)
#
# See src/UPDATING `COMMON ITEMS' for more complete information.

This is /usr/src/Makefile of course.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110714034048.02abfaad.freebsd>