Help with "make release" from -CURRENT to -STABLE

Kirk Strauser kirk at strauser.com
Tue Aug 5 05:17:11 PDT 2003


I'm trying to make my own floppy release to add support for a wireless NIC
that I need to install FreeBSD on a small laptop.  My problem is that I'm
running 5.1-RELEASE on the build machine, but I want to build a 4.8-RELEASE
system for the laptop.

I've read through release(7) and I pretty much follow what's going on.
However, I don't really understand at which point I'm actually supposed to
be building the release.

I'm loosely following the example from the man page:

    cd /usr/src
    cvs diff -u > /path/to/local.patch
    make buildworld
    cd release
    make release CHROOTDIR=/local3/release BUILDNAME=5.0-CURRENT \
       CVSROOT=/host/cvs/usr/home/ncvs LOCAL_PATCHES=/path/to/local.patch

In my case, I've cvsup'ed the "cvs" collection to /usr/src, moved /usr/src
to /usr/src-5.1 (to get my usual version out of the way), rm -rf'ed
/usr/obj, then used

    export CVSROOT=/usr/cvs
    cd /usr; cvs co -rRELENG_4_8 src

to flesh out the source tree I want to build.  After making my edits, I did
the "cvs diff" to make a patch for later use.  The next step in the example
is to "make buildworld", but that (unsurprisingly) fails fairly early into
the build.  This is where I'm getting confused.  Which world am I supposed
to be building: the 5.1 that is running on the build machine, or the 4.8
that I'm wanting to use for the release?

Thanks,
-- 
Kirk Strauser
The Strauser Group
Open. Solutions. Simple.
http://www.strausergroup.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030805/48f9fc41/attachment.bin


More information about the freebsd-questions mailing list