summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatusita <matusita@FreeBSD.org>2002-01-20 23:17:52 +0000
committermatusita <matusita@FreeBSD.org>2002-01-20 23:17:52 +0000
commit4969904c0d4a220072f5b04395e7f79bbea52b71 (patch)
tree3c6cc84f535c0d3838b46d4451f4780ee917f5f2
parent1d6432ede3d9347bff05575e2e59a970c49ba052 (diff)
downloadFreeBSD-src-4969904c0d4a220072f5b04395e7f79bbea52b71.zip
FreeBSD-src-4969904c0d4a220072f5b04395e7f79bbea52b71.tar.gz
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.
-rw-r--r--release/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/Makefile b/release/Makefile
index 8ef4015..95e3c70 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -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 > \
OpenPOWER on IntegriCloud