MFS 1.536.2.52 (partial) and 1.536.2.70: kgzip loader if i386 (only).

5.0-CURRENT-20020121-JPSNAP was failed to build since kern.flp has no
space.  There is already a hack to kgzip loader, and it makes:

-r-xr-xr-x  1 root  wheel  163840 Jan 21 07:40 loader*
-r-xr-xr-x  1 root  wheel   90121 Jan 21 08:06 loader.kgz*

73719 bytes of free spaces to us.
This commit is contained in:
Makoto Matsushita 2002-01-20 23:17:52 +00:00
parent 767567d3c2
commit 4b60693c3c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89596

View File

@ -982,7 +982,11 @@ doMFSKERN:
mv ${RD}/kernels/BOOTMFS ${RD}/image.${FSIMAGE}/kernel
@echo "Setting up /boot directory for ${FSIMAGE} floppy"
@mkdir -p ${RD}/image.${FSIMAGE}/boot
.if ${MACHINE} == "i386"
@kgzip -vo ${RD}/image.${FSIMAGE}/boot/loader /boot/loader
.else
@cp /boot/loader ${RD}/image.${FSIMAGE}/boot
.endif
@[ -r ${RD}/kernels/BOOTMFS.${FSIMAGE}.hints ] && \
sed -e '/^hint/s/^/set /' -e '/^#/d' \
${RD}/kernels/BOOTMFS.${FSIMAGE}.hints > \