diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2006-01-10 03:47:27 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2006-01-10 03:47:27 +0000 |
| commit | 666822f2549cb4cee524cd428fe9ea946e16c97f (patch) | |
| tree | eeb416c7372b9d1d2c25818064f4879c030d3c47 | |
| parent | 532c603474bcbd2f23964bdd211e72ee859d18c1 (diff) | |
Notes
| -rw-r--r-- | release/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/release/Makefile b/release/Makefile index ed00618f85de..2b037bd37894 100644 --- a/release/Makefile +++ b/release/Makefile @@ -35,6 +35,10 @@ BUILDNAME?=${BASE}-${DATE}-SNAP # be copied; cvs update will be used instead. #EXTSRCDIR=/usr/src # +# To use a checked-out ports collection directory instead of +# checking out from a local CVS repository, set this option. +#EXTPORTSDIR=/usr/ports +# # To add other options to the CVS subcommands (co,up), set #CVSCMDARGS="-D '01/01/2002 00:00:00 UTC'" # @@ -385,9 +389,15 @@ release rerelease: .endif rm -rf ${CHROOTDIR}/usr/ports .if !defined(NOPORTSATALL) +.if defined(EXTPORTSDIR) + cd ${CHROOTDIR}/usr && cp -R -H ${EXTPORTSDIR} ports + # If there are distfiles downloaded removing them + rm -rf ports/distfiles/* +.else cd ${CHROOTDIR}/usr && ${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} \ co ${CVSCMDARGS} ${CVS_PORTSARGS} ${RELEASEPORTSMODULE} .endif +.endif .if !defined(NODOC) rm -rf ${CHROOTDIR}/usr/doc .if defined(EXTDOCDIR) @@ -416,7 +426,7 @@ release rerelease: update ${CVSCMDARGS} -P -d -r ${RELEASETAG} .endif rm -f ${CHROOTDIR}/tmp/.world_done -.if !defined(NOPORTS) +.if !defined(NOPORTS) && !defined(EXTPORTSDIR) cd ${CHROOTDIR}/usr/ports && ${CVSPREFIX} cvs -R ${CVSARGS} -q \ update ${CVSCMDARGS} -P -d rm -f ${CHROOTDIR}/tmp/.skip_ports_index @@ -1248,6 +1258,9 @@ buildBootFloppy: .if !exists(${ACPI_KO}) @echo 'mfsroot_before="read -p \"Insert boot floppy and press Enter\""' >> ${IMAGEDIR}/boot/loader.conf .endif +.if defined(SPLIT_MFSROOT) + @echo 'mfsroot_after="read -p \"Insert boot floppy and press Enter\""' >> ${IMAGEDIR}/boot/loader.conf +.endif .if ${TARGET_ARCH} == "i386" && ${AUTO_KEYBOARD_DETECT} @echo "-P" >> ${IMAGEDIR}/boot.config .endif |
