summaryrefslogtreecommitdiffstats
path: root/release/Makefile
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2002-11-05 13:54:58 +0000
committernyan <nyan@FreeBSD.org>2002-11-05 13:54:58 +0000
commit3f2308e3f6574a9c582e8f9ec68e5f765838a385 (patch)
tree3e9962b061cbab8db2c8ec51947131e391462eff /release/Makefile
parent30e0862b2a32fe3e4d21f3ddd9a4acc7f04d3218 (diff)
downloadFreeBSD-src-3f2308e3f6574a9c582e8f9ec68e5f765838a385.zip
FreeBSD-src-3f2308e3f6574a9c582e8f9ec68e5f765838a385.tar.gz
Make a small (1.2M) fixit floppy image for pc98.
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile17
1 files changed, 15 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile
index a4bac15..57b3ba4 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -160,6 +160,7 @@ MNT= /mnt
.if ${TARGET} == "pc98"
SMALLBOOTSIZE= 1200
BOOTSIZE= 1440
+SMALLFIXITSIZE= 1200
FIXITSIZE= 1440
MFSSIZE= 4320
BOOTINODE= 80000
@@ -167,6 +168,7 @@ FIXITINODE= 40000
MFSINODE= 8000
SMALLBOOTLABEL= fd1200
BOOTLABEL= fd1440
+SMALLFIXITLABEL= fd1200
FIXITLABEL= fd1440
MFSLABEL= minimum3
.else
@@ -254,6 +256,8 @@ FIXIT_TARGET=
.elif ${TARGET_ARCH} == "ia64"
CRUNCH_TARGETS= boot
FIXIT_TARGET=
+.elif ${TARGET} == "pc98"
+CRUNCH_TARGETS= boot fixit fixit-small
.endif
.if !defined(CRUNCH_TARGETS)
@@ -740,8 +744,6 @@ release.10:
@cd ${RD}/fixitfd && \
mkdir -p dev stand bin sbin etc mnt mnt1 mnt2 mnt3 mnt4 tmp \
usr/share/misc
- @cd ${.CURDIR} && $(MAKE) installCRUNCH CRUNCH=fixit \
- DIR=${RD}/fixitfd/stand ZIP=false
@cp ${RD}/trees/base/etc/spwd.db ${RD}/trees/base/etc/group \
${RD}/trees/base/etc/protocols ${RD}/fixitfd/etc
@cp ${RD}/trees/base/usr/share/misc/scsi_modes \
@@ -750,6 +752,17 @@ release.10:
@cp ${.CURDIR}/fixit.services ${RD}/fixitfd/etc/services
@cp ${.CURDIR}/scripts/tar.sh ${RD}/fixitfd/stand/tar
@chmod 555 ${RD}/fixitfd/stand/tar
+.if defined(SMALLFIXITSIZE)
+ @cd ${.CURDIR} && ${MAKE} installCRUNCH CRUNCH=fixit-small \
+ DIR=${RD}/fixitfd/stand ZIP=false
+ @sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/fixit-small.flp \
+ ${RD} ${MNT} ${SMALLFIXITSIZE} ${RD}/fixitfd ${FIXITINODE} \
+ ${SMALLFIXITLABEL}
+ @rm -rf ${RD}/fixitfd/stand
+ @mkdir ${RD}/fixitfd/stand
+.endif
+ @cd ${.CURDIR} && ${MAKE} installCRUNCH CRUNCH=fixit \
+ DIR=${RD}/fixitfd/stand ZIP=false
@sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/fixit.flp ${RD} \
${MNT} ${FIXITSIZE} ${RD}/fixitfd ${FIXITINODE} ${FIXITLABEL}
# Do our last minute floppies directory setup in a convenient place.
OpenPOWER on IntegriCloud