Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Aug 2003 07:17:07 -0500
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-questions@freebsd.org
Subject:   Help with "make release" from -CURRENT to -STABLE
Message-ID:  <87brv4uwn0.fsf@pooh.honeypot.net>

next in thread | raw e-mail | index | archive | help
--=-=-=
Content-Transfer-Encoding: quoted-printable

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=3D/local3/release BUILDNAME=3D5.0-CURRENT \
       CVSROOT=3D/host/cvs/usr/home/ncvs LOCAL_PATCHES=3D/path/to/local.pat=
ch

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=3D/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,
=2D-=20
Kirk Strauser
The Strauser Group
Open. Solutions. Simple.
http://www.strausergroup.com/

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA/L6BD5sRg+Y0CpvERAiFdAJ0VaRjv706xULXEt3Edij6EHueB0QCgo1Xz
QwU+VK06U7VXPsfoI+qss+4=
=b8H8
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87brv4uwn0.fsf>