From owner-freebsd-questions@FreeBSD.ORG Wed Jul 13 16:58:10 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60F6216A41C for ; Wed, 13 Jul 2005 16:58:10 +0000 (GMT) (envelope-from jbeitaharon@intrusic.com) Received: from mail.intrusic.com (mail.intrusic.com [63.251.138.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 000EF43D45 for ; Wed, 13 Jul 2005 16:58:09 +0000 (GMT) (envelope-from jbeitaharon@intrusic.com) Received: from cha1-mail1.intrusic.com (ipn36372-a58290.cidr.lightship.net [216.204.40.50]) by mail.intrusic.com (Postfix) with ESMTP id 1927DF07 for ; Wed, 13 Jul 2005 12:03:44 -0500 (EST) Received: from intrusic.com (trailbreaker.cybertron.intrusic.com [192.168.100.214]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by cha1-mail1.intrusic.com (Postfix) with ESMTP id 106FFC55A5 for ; Wed, 13 Jul 2005 13:05:27 -0400 (EDT) Message-ID: <42D54884.2010409@intrusic.com> Date: Wed, 13 Jul 2005 12:59:48 -0400 From: Jonathan Beit-Aharon Organization: Intrusic, Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5b) Gecko/20050120 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Building an ISO for CD release of a custom FreeBSD 5.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 16:58:10 -0000 Hi, I ported/upgraded our custom FreeBSD (custom kernel, security patches, etc.) from 4.9-stable to 5.4-stable, and have downloaded and built all the ports we need. I want to provide this already-built system for use in our QA lab and by other developers, so I'm attempting to build a bootable CD that captures it. Since I have never done this before, I read the fine manual (man build and man release), and some articles that came up when I searched for various combinations of {freebsd, release, make, iso, isos, custom, cd, and cdrom}, and tried to follow their examples. It isn't easy, because the documentation of MAKE_ISOS and NOPORTS is rather incomplete. I tried the following: cd /usr/src/release make release CHROOTDIR=/usr/v54export BUILDNAME=FBSD54_050712 RELEASETAG=RELENG_5 \ CVSROOT=:pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs EXTSRCDIR=/usr/src \ MAKE_ISOS=/usr/v54export COMPAT_DISTS=compat4x OTHER_DISTS=manpages \ NOPORTS=YES It complained that the connection to the CVS repository is being refused. I tried changing the CVSROOT to :pserver:freebsdanoncvs@... but that and several other protocol variations didn't help. I can't see why -- does anyone know/care? Is there a simple way to overcome this obstacle (is the documentation wrong/typo'ed)? I tried to "cvs import" /usr/src into /usr/v54cvs and then specify the CVSROOT as /usr/v54cvs. Here is the tail of 'script' capture of that build: cvs checkout: Updating ports/lang/perl5.8/files^M rm -rf /usr/v54export/usr/doc^M cd /usr/v54export/usr && cvs -R -d /usr/v54cvs co -P doc^M cvs checkout: Updating doc^M if [ -d /usr/src/release/../../ports/distfiles/ ]; then cp -rp /usr/src/release/../../ports/distfiles /usr/v54export/usr/ports/distfiles; else mkdir -p /usr/v54export/usr/ports/distfiles; fi^M make: don't know how to make checksum-recursive. Stop^M *** Error code 2^M ^M Stop in /usr/src/release.^M *** Error code 1^M ^M Stop in /usr/src/release.^M # exit ^M Well, at least this "checksum-recursive" thing is new -- can you help me overcome it? Am I doing something so wrong I don't even know how to ask the right question(s)? If so, please be so kind as to point me in the right direction. Desperate (not yet sleepless, but close) in Waltham, Jonathan