YAMF22
Submitted by: pst
This commit is contained in:
parent
a9196dd6b1
commit
4731faa312
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26909
@ -1,4 +1,4 @@
|
|||||||
# $Id: Makefile,v 1.306 1997/06/22 17:59:04 jkh Exp $
|
# $Id: Makefile,v 1.307 1997/06/23 01:49:35 jkh Exp $
|
||||||
#
|
#
|
||||||
# make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ]
|
# make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ]
|
||||||
#
|
#
|
||||||
@ -85,11 +85,10 @@ BOOTSTRAPUTILS+= /usr/bin/cpio
|
|||||||
CRUNCH_TARGETS= boot fixit
|
CRUNCH_TARGETS= boot fixit
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
EXTRAS=
|
|
||||||
.if !defined(NOPORTS)
|
.if !defined(NOPORTS)
|
||||||
EXTRAS+= ports.1
|
EXTRAS+= ports.1
|
||||||
.endif
|
.endif
|
||||||
EXTRAS+= cdrom.1
|
EXTRAS+= ftp.1 cdrom.1
|
||||||
|
|
||||||
.if !defined(NODOC)
|
.if !defined(NODOC)
|
||||||
DOCREL= doc.1
|
DOCREL= doc.1
|
||||||
@ -182,8 +181,14 @@ rerelease release:
|
|||||||
.if defined(NOPORTS)
|
.if defined(NOPORTS)
|
||||||
echo "export NOPORTS=${NOPORTS}" >> ${CHROOTDIR}/mk
|
echo "export NOPORTS=${NOPORTS}" >> ${CHROOTDIR}/mk
|
||||||
.endif
|
.endif
|
||||||
|
.if defined(BOOT_CONFIG)
|
||||||
|
echo "export BOOT_CONFIG=\"${BOOT_CONFIG}\"">> ${CHROOTDIR}/mk
|
||||||
|
.endif
|
||||||
.if defined(NODOC)
|
.if defined(NODOC)
|
||||||
echo "export NODOC=${NODOC}" >> ${CHROOTDIR}/mk
|
echo "export NODOC=${NODOC}" >> ${CHROOTDIR}/mk
|
||||||
|
.endif
|
||||||
|
.if defined(NOSRC)
|
||||||
|
echo "export NOSRC=${NOSRC}" >> ${CHROOTDIR}/mk
|
||||||
.endif
|
.endif
|
||||||
# Don't remove this, or the build will fall over!
|
# Don't remove this, or the build will fall over!
|
||||||
echo "export RELEASEDIR=/R" >> ${CHROOTDIR}/mk
|
echo "export RELEASEDIR=/R" >> ${CHROOTDIR}/mk
|
||||||
@ -350,6 +355,7 @@ release.6:
|
|||||||
# --==## Make source dists ##==--
|
# --==## Make source dists ##==--
|
||||||
#
|
#
|
||||||
release.7:
|
release.7:
|
||||||
|
.if !defined(NOSRC)
|
||||||
@cd ${.CURDIR} && $(MAKE) doTARBALL SD=/usr/src \
|
@cd ${.CURDIR} && $(MAKE) doTARBALL SD=/usr/src \
|
||||||
TD=src TN=sbase ARG="[A-Z]*"
|
TD=src TN=sbase ARG="[A-Z]*"
|
||||||
@for i in `cd /usr/src && echo [a-z]*` ; do \
|
@for i in `cd /usr/src && echo [a-z]*` ; do \
|
||||||
@ -374,6 +380,7 @@ release.7:
|
|||||||
if [ -f ssecure.inf ] ; then mv ssecure.inf ../des ; fi && \
|
if [ -f ssecure.inf ] ; then mv ssecure.inf ../des ; fi && \
|
||||||
if [ -f sebones.inf ] ; then mv sebones.inf ../des ; fi ; )
|
if [ -f sebones.inf ] ; then mv sebones.inf ../des ; fi ; )
|
||||||
@echo "src distribution is finished."
|
@echo "src distribution is finished."
|
||||||
|
.endif
|
||||||
touch release.7
|
touch release.7
|
||||||
|
|
||||||
# Complete the bootfd
|
# Complete the bootfd
|
||||||
@ -636,6 +643,9 @@ doMFSKERN:
|
|||||||
@mkdir ${RD}/boot.${FSIMAGE}
|
@mkdir ${RD}/boot.${FSIMAGE}
|
||||||
@mv ${RD}/kernels/BOOTMFS ${RD}/kernels/BOOTMFS.${FSIMAGE}
|
@mv ${RD}/kernels/BOOTMFS ${RD}/kernels/BOOTMFS.${FSIMAGE}
|
||||||
@cp ${RD}/kernels/BOOTMFS.${FSIMAGE} ${RD}/boot.${FSIMAGE}/kernel
|
@cp ${RD}/kernels/BOOTMFS.${FSIMAGE} ${RD}/boot.${FSIMAGE}/kernel
|
||||||
|
.if defined(BOOT_CONFIG)
|
||||||
|
@echo "${BOOT_CONFIG}" >${RD}/boot.${FSIMAGE}/boot.config
|
||||||
|
endif
|
||||||
@vnconfig /dev/vn0 fs-image.${FSIMAGE}
|
@vnconfig /dev/vn0 fs-image.${FSIMAGE}
|
||||||
@mkdir -p /tmp/mnt_xx
|
@mkdir -p /tmp/mnt_xx
|
||||||
@mount /dev/vn0 /tmp/mnt_xx
|
@mount /dev/vn0 /tmp/mnt_xx
|
||||||
|
Loading…
Reference in New Issue
Block a user