Re: Building a custom release, not working
On Saturday 31 January 2004 22:06, Chad M Stewart wrote: > I printed off the FreeBSD Release Engineering document and read through > it. I then proceeded to create a local copy of the CVS tree. And did you checkout /usr/src with that local copy? And did you do a make buildworld, to populate /usr/obj with the output of that new tree. ie: cd /usr mv src src.old cvs -d/home/cms/cvs_root co -r RELENG_4_9 src cd src make buildworld # might be sensible to do, not strictly necessary: # make buildkernel KERNCONF=YOUR_KERNEL # make installkernel KERNCONF=YOUR_KERNEL # reboot # make installworld # mergemaster cd release make release options... -- Melvyn === FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Jan 28 18:01:18 CET 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG i386 === pgp0.pgp Description: signature
Re: Building a custom release, not working
On Jan 31, 2004, at 3:06 PM, Chad M Stewart wrote: I'm starting down the road of creating a firewall appliance using FreeBSD. An automated, hands off installation is a key component of this. I have to start somewhere and figured I would start with building my own "release". Using that as an exercise to become familiar with how the process works and then start to customize the install and subsequent image that is put down on the disk. Thank you, Chad I've never tried what you're doing though I've thought about it many times so I don't think I'll be much help on the specifics. But during one of my many times of searching the web for just such a thing I came across this fellows website and seems to be very well documented and up to date. http://neon1.net/misc/minibsd.html Also this project may be of some interest to you too. http://m0n0.ch/wall/ Both are intended to be used with this hardware but also can be customized with any "regular" computer too. http://www.soekris.com/ Hope this helps. Cheers, Luke ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Building a custom release, not working
I'm starting down the road of creating a firewall appliance using FreeBSD. An automated, hands off installation is a key component of this. I have to start somewhere and figured I would start with building my own "release". Using that as an exercise to become familiar with how the process works and then start to customize the install and subsequent image that is put down on the disk. I printed off the FreeBSD Release Engineering document and read through it. I then proceeded to create a local copy of the CVS tree. -bash-2.05b$ cat cvs-supfile |grep -v ^# *default host=cvsup16.us.FreeBSD.org *default base=/home/cms/usr *default prefix=/home/cms/cvs_root *default release=cvs *default delete use-rel-suffix *default compress src-all ports-all doc-all cvsroot-all -bash-2.05b$ cvsup cvs-supfile When completed a du -sh shows 2.0GB. Then as root I tried the following # cd /usr/src/release # make release CHROOTDIR=/home/cms/chroot/release BUILDNAME=4.9-RELEASE-CMS CVSROOT=/home/cms/cvs_root/ RELEASETAG=RELENG_4_9_0_RELEASE rm -rf /home/cms/chroot/release 2>/dev/null *** Error code 1 (ignored) chflags -R noschg /home/cms/chroot/release/. rm -rf /home/cms/chroot/release mkdir -p /home/cms/chroot/release >>> make release for i386 started on Sat Jan 31 17:46:37 GMT 2004 cd /usr/src/release/.. && make TARGET_ARCH=i386 TARGET=i386 -DNOGAMES -DNOHTML -DNOINFO -DNOMAN -DNOPROFILE installworld DESTDIR=/home/cms/chroot/release mkdir -p /tmp/install.34499 for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep ln make makewhatis mkdir mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.34499; done <..snip..> install -s -o root -g wheel -m 444 libcrypto.so.3 /home/cms/chroot/release/usr/lib ln -fs libcrypto.so.3 /home/cms/chroot/release/usr/lib/libcrypto.so mkdir -p openssl cp /usr/src/secure/lib/libcrypto/../../lib/libcrypto/opensslconf-i386.h openssl/opensslconf.h cp:No such file or directory *** Error code 1 Stop in /usr/src/secure/lib/libcrypto. *** Error code 1 Stop in /usr/src/secure/lib. *** Error code 1 Stop in /usr/src/secure. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src/release. I am trying to do this on a 4.9-STABLE box. Is there something basic that I've done wrong here? Thank you, Chad