Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 1999 08:58:51 -0400 (EDT)
From:      "John W. DeBoskey" <jwd@unx.sas.com>
To:        freebsd-current@freebsd.org
Cc:        ggm@dstc.edu.au (George Michaelson)
Subject:   Re: a few comments on make release
Message-ID:  <199906251258.IAA49901@bb01f39.unx.sas.com>
In-Reply-To: From George Michaelson at "Jun 25, 1999 10: 6:22 am"

next in thread | raw e-mail | index | archive | help
> 1) a cross-reference to http://www.freebsd.org/FAQ/FAQ243.html#246
>    in the docs in /usr/src/release is useful!
> 
> 	how about adding one to the Makefile
> 
> 2) you can't always do a make release without 1:1 agreement between
>    your runtime state and the CVS and /usr/src repositaries being used
>    to do make release
> 
> 	as an example, the re-integration of vinum exposed a Make failure
> 	copying nonexistant vinum.ko into the release build. 
> 
> 	re-cvsupping, and then make buildworld/installworld before
> 	make release should fix it.
> 
> 3) now that CDburners are 10 a penny, pointers to how to cut the outcomes
>    of make release to CD (even if pitifully simple) would be useful.


Assuming you are doing a make release, how about:

#!/bin/sh -e

export SNAP=3.2-RELEASE
export SNAP=4.0-19990622-SNAP
export RUN_MAKECDFS=YES

cd /cdwork && rm -rf disc1

cd /pub/FreeBSD/${SNAP}/cdrom &&   \
   tar -cf - disc1 | (cd /cdwork && tar -xvf -)

cd /cdwork/disc1 && mkdir XF86333

cd /pub/FreeBSD/${SNAP}/XF86333 &&   \
   tar -cf - . | (cd /cdwork/disc1/XF86333 && tar -xvf -)

if [ ${RUN_MAKECDFS} = "YES" ]; then

   #
   # Create a bootable cdrom containing the distribution
   #
   cd /cdwork && rm -f cd1.image
   sh /usr/share/examples/worm/makecdfs.sh \
      -b "${SNAP}" /cdwork/disc1 /cdwork/cd1.image \
     "${SNAP} (c) FreeBSD"

fi

#
# Burn it
#
#cd /cdwork && cdrecord dev=6,0 speed=4 -v -prcap -dummy cd1.image






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



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




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