Make a small (1.2M) fixit floppy image for pc98.
This commit is contained in:
parent
69af598209
commit
c2bed627fb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106455
@ -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.
|
||||
|
25
release/pc98/fixit-small_crunch.conf
Normal file
25
release/pc98/fixit-small_crunch.conf
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user