version 1.4, 2013/03/21 11:11:21
|
version 1.5, 2015/06/19 19:18:31
|
Line 8 To read the NetBSD sources from your loc
|
Line 8 To read the NetBSD sources from your loc
|
of it, you need to download the NetBSD sources. This chapter explains how to get |
of it, you need to download the NetBSD sources. This chapter explains how to get |
the NetBSD source using a number of different ways, although the preferred one |
the NetBSD source using a number of different ways, although the preferred one |
is to get the tarballs and then update via |
is to get the tarballs and then update via |
[cvs(1)](http://netbsd.gw.com/cgi-bin/man-cgi?cvs+1+NetBSD-5.0.1+i386). |
[[!template id=man name="cvs" section="1"]]. |
|
|
## Preparing directories |
## Preparing directories |
|
|
Line 47 graphs](http://www.NetBSD.org/releases/r
|
Line 47 graphs](http://www.NetBSD.org/releases/r
|
## Downloading tarballs |
## Downloading tarballs |
|
|
It is sometimes faster to download a tarball and then continue updating with |
It is sometimes faster to download a tarball and then continue updating with |
[cvs(1)](http://netbsd.gw.com/cgi-bin/man-cgi?cvs+1+NetBSD-5.0.1+i386). You can |
[[!template id=man name="cvs" section="1"]]. You can |
download tarballs (see |
download tarballs (see |
[tar(1)](http://netbsd.gw.com/cgi-bin/man-cgi?tar+1+NetBSD-5.0.1+i386)) from |
[[!template id=man name="tar" section="1"]]) from |
ftp.NetBSD.org (or any other mirror) for a number of releases or branches. |
ftp.NetBSD.org (or any other mirror) for a number of releases or branches. |
|
|
The only drawback is that the tarballs are updated less often. Normally, every |
The only drawback is that the tarballs are updated less often. Normally, every |
Line 57 three days.
|
Line 57 three days.
|
|
|
Also, please note that these tarballs include the `CVS` directories, so you can |
Also, please note that these tarballs include the `CVS` directories, so you can |
download them and then update your source tree using |
download them and then update your source tree using |
[cvs(1)](http://netbsd.gw.com/cgi-bin/man-cgi?cvs+1+NetBSD-5.0.1+i386), as |
[[!template id=man name="cvs" section="1"]], as |
explained in the CVS section. |
explained in the CVS section. |
|
|
### Downloading sources for a NetBSD release |
### Downloading sources for a NetBSD release |
Line 153 You may also want to fetch the X11 sourc
|
Line 153 You may also want to fetch the X11 sourc
|
CVS (Concurrent Versions System) can be used to fetch the NetBSD source tree or |
CVS (Concurrent Versions System) can be used to fetch the NetBSD source tree or |
to keep the NetBSD source tree up to date with respect to changes made to the |
to keep the NetBSD source tree up to date with respect to changes made to the |
NetBSD sources. There are three trees maintained for which you can use |
NetBSD sources. There are three trees maintained for which you can use |
[cvs(1)](http://netbsd.gw.com/cgi-bin/man-cgi?cvs+1+NetBSD-5.0.1+i386) to obtain |
[[!template id=man name="cvs" section="1"]] to obtain |
them or keep them up to date: |
them or keep them up to date: |
|
|
The list of currently maintained branches is available under |
The list of currently maintained branches is available under |
Line 204 NetBSD stable branches are also called *
|
Line 204 NetBSD stable branches are also called *
|
the [[Terminology|guide/fetch#term]]. |
the [[Terminology|guide/fetch#term]]. |
|
|
If you want to follow a stable branch, just pass the branch name to the |
If you want to follow a stable branch, just pass the branch name to the |
[cvs(1)](http://netbsd.gw.com/cgi-bin/man-cgi?cvs+1+NetBSD-5.0.1+i386) `-r` |
[[!template id=man name="cvs" section="1"]] `-r` |
option. |
option. |
|
|
For example, if you want to fetch the most recent version of `netbsd-4`, you |
For example, if you want to fetch the most recent version of `netbsd-4`, you |
Line 277 for example, `5.1`:
|
Line 277 for example, `5.1`:
|
ftp://ftp.NetBSD.org/pub/NetBSD/iso/5.1/sourcecd-5.1.iso |
ftp://ftp.NetBSD.org/pub/NetBSD/iso/5.1/sourcecd-5.1.iso |
|
|
The next step is to burn the ISO image or mount it with the help of |
The next step is to burn the ISO image or mount it with the help of |
[vnconfig(8)](http://netbsd.gw.com/cgi-bin/man-cgi?vnconfig+8+NetBSD-5.0.1+i386). |
[[!template id=man name="vnconfig" section="8"]]. |
Please see [[Using removable media|guide/rmmedia]], as it explains in detail how |
Please see [[Using removable media|guide/rmmedia]], as it explains in detail how |
to do it. |
to do it. |
|
|