Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2003 23:04:09 -0500 (EST)
From:      William Denton <buff@pobox.com>
To:        freebsd-stable@freebsd.org
Subject:   Building my own release
Message-ID:  <20030316224453.L50008-100000@as2.dm.egate.net>

next in thread | raw e-mail | index | archive | help
I was having a hell of a time downloading ISO images of 4.8-RC1 or 5.0 to
install on an old machine I just got--they'd freeze, no matter what mirror
I used--so I thought I'd try making my own release and ISO images.  I
could compile everything here, burn a CD, and I'd be all set.

I read release (7), and looked the examples, but I'm still not sure what
to do.  I used the sample cvs-supfile to download all the CVS files, but
then I got stuck.  The release man page says this was used to build
4.5-RELEASE:

           cd /usr
           cvs co -rRELENG_4_5_0_RELEASE src
           cd src
           make buildworld
           cd release
           make release CHROOTDIR=/local3/release BUILDNAME=4.5-RELEASE \
             CVSROOT=/host/cvs/usr/home/ncvs RELEASETAG=RELENG_4_5_0_RELEASE

What does that cvs in the second line do?  Where they used
RELENG_4_5_0_RELEASE, what would I use if I wanted to build from my system
and I've cvsupped so I'm up to date?  uname -a says 4.8-PRERELEASE now, of
course, and I just want to take what I've got and make a CD of it.  I
couldn't get the cvs line to go, and when I tried the make release,
whatever release I tried or guessed at, I'd get:

===> include
creating osreldate.h from newvers.sh
setvar PARAMFILE /usr/src/include/../sys/sys/param.h;  .
/usr/src/include/../sys/conf/newvers.sh;  echo "$COPYRIGHT" > osreldate.h;
echo "#ifdef _KERNEL" >> osreldate.h;  echo '#error "osreldate.h must not
be used in the kernel, use sys/param.h"' >> osreldate.h;  echo "#else" >>
osreldate.h;  echo \#'undef __FreeBSD_version' >> osreldate.h;  echo
\#'define __FreeBSD_version' $RELDATE >> osreldate.h;  echo "#endif" >>
osreldate.h
touch: not found
*** Error code 127
[more errors and make dies]

I read through the release engineering stuff at

	http://www.FreeBSD.org/doc/en_US.ISO8859-1/articles/releng/

but that didn't clear it up.

Bill
-- 
William Denton : Toronto, Canada : http://www.miskatonic.org/ : Caveat lector.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030316224453.L50008-100000>