Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Oct 2002 00:34:42 -0400
From:      Kent Hauser <kent@tfd.com>
To:        stable@freebsd.org
Subject:   make release CDs
Message-ID:  <3D9925E2.10506@tfd.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------020106060701020301070801
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

My script to build release CDs broke about 6 months ago & still doesn't 
work.
Basically, the /R/cdrom directories aren't built, so mkisofs fails.

I figured it'd be fixed by now -- am I missing something?

My script attached. Thanks. Kent



--------------020106060701020301070801
Content-Type: text/plain;
 name="make.stable"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="make.stable"

#!/bin/sh
export CHROOTDIR=/home/kent/stable
export RELEASETAG=RELENG_4
export CVSROOT=/home/ncvs
#export NOPORTS=YES
#export NODOC=YES
export USA_RESIDENT=YES
cd /usr/src/release
if [ -d $CHROOTDIR ];
then
    time make -k rerelease;
else
    time make release;
fi

# now make local CDROMs
export MAKE_ISOS
RD=$CHROOTDIR/R/stage/trees/bin
TARGETS="iso.1"

rm -rf $RD/etc-ch
mkdir -p $RD/etc-ch

tar cf - -C /etc . |(cd $RD/etc-ch && tar xpf -)
(cd $CHROOTDIR/usr/obj/usr/src/release; rm -f $TARGETS)
chroot $CHROOTDIR /bin/sh -c "cd /usr/src/release;make $TARGETS"

--------------020106060701020301070801--


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?3D9925E2.10506>