aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2002-11-05 13:54:58 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2002-11-05 13:54:58 +0000
commitc2bed627fbc207cf7caf901ba0f5f8e0a7be5d13 (patch)
tree3e9962b061cbab8db2c8ec51947131e391462eff /release
parent69af598209bc09df5bfae5b0bc49c4da8909d2d5 (diff)
downloadsrc-c2bed627fbc207cf7caf901ba0f5f8e0a7be5d13.tar.gz
src-c2bed627fbc207cf7caf901ba0f5f8e0a7be5d13.zip
Make a small (1.2M) fixit floppy image for pc98.
Notes
Notes: svn path=/head/; revision=106455
Diffstat (limited to 'release')
-rw-r--r--release/Makefile17
-rw-r--r--release/pc98/fixit-small_crunch.conf25
2 files changed, 40 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile
index a4bac15cbd62..57b3ba49e673 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.
diff --git a/release/pc98/fixit-small_crunch.conf b/release/pc98/fixit-small_crunch.conf
new file mode 100644
index 000000000000..240cc72ea028
--- /dev/null
+++ b/release/pc98/fixit-small_crunch.conf
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+buildopts -DRELEASE_CRUNCH
+
+srcdirs /usr/src/bin
+progs cat chmod cp dd df echo expr kill
+progs ln ls mkdir mv rm rmdir sleep sync
+
+srcdirs /usr/src/sbin
+progs clri disklabel dmesg fdisk mknod
+progs mount mount_cd9660 mount_msdosfs mount_devfs
+progs reboot restore swapon umount
+ln restore rrestore
+
+special fdisk srcdir /usr/src/sbin/fdisk_pc98
+
+srcdirs /usr/src/usr.bin
+progs ee ftp telnet
+ln ee edit
+
+srcdirs /usr/src/usr.sbin
+progs chown chroot
+ln chown chgrp
+
+libs -lutil -lm -ledit -lncurses -ltermcap -lkvm