Create FreeBSD bootable media

Create sup file and fetch CVS

by ross at 07:22:21 on October 28, 2011

Create supfile for the CVS. Start by copying system example. I keep my sup-files in /share/freebsd/cvsup:

# cp /usr/share/examples/cvsup/cvs-supfile /share/freebsd/cvsup/CVS

Edit it, first find a mirror. install sysutils/fastest_cvsup and:

> fastest_cvsup -c UA
>>  Querying servers in countries: ua
>>  Speed Daemons:
    - 1st: cvsup6.ua.freebsd.org
    - 2nd: cvsup3.ua.freebsd.org
    - 3rd: cvsup8.ua.freebsd.org

My fastest mirror is cvsup6.ua.freebsd.org.

Edit CVS file, here is the diff:

--- /usr/share/examples/cvsup/cvs-supfile       2011-07-24 18:24:31.000000000 +0300
+++ CVS 2011-07-28 05:43:50.000000000 +0300
@@ -47,9 +47,9 @@
 #
 # IMPORTANT: Change the next line to use one of the CVSup mirror sites
 # listed at http://www.freebsd.org/doc/handbook/cvsup.html#CVSUP-MIRRORS.
-*default host=CHANGE_THIS.FreeBSD.org
-*default base=/var/db
-*default prefix=/home/ncvs
+*default host=cvsup6.ua.freebsd.org
+*default base=/share/freebsd/cvsup
+*default prefix=/share/freebsd/ncvs
 *default release=cvs
 *default delete use-rel-suffix
 
@@ -183,13 +183,13 @@
 #
 # This collection retrieves the www tree of the FreeBSD
 # repository
-www
+#www
 
 ## Projects
 #
 # This collection retrieves the projects tree of the FreeBSD
 # repository
-projects-all
+#projects-all
 
 ## CVSROOT control files
 #

Initialize the target directory (run this command only once — if you have the directory already skip to the next command):

# cvs -d /share/freebsd/ncvs init

Download ncvs:

# csup -L2 /share/freebsd/cvsup/CVS
Comments
CVS does not currently expired? SVN this now to system fonts.
-- epor
Monday, May 23, 2016, 6:31:33
ah, yes. this article is outdated. I should probably rewrite it
-- ross
Tuesday, May 24, 2016, 2:48:02