aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1999-01-08 00:33:21 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1999-01-08 00:33:21 +0000
commit9694e175f122c1b1bf2af37417146d502b174b65 (patch)
tree2ac957eb3297a124faa4ecc0001a9d5d7a453aa4 /release
parenta864ef37a30876e0397c28bc26fb02c6f042893a (diff)
Notes
Diffstat (limited to 'release')
-rw-r--r--release/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile
index 08676f10806a..48bf5afab909 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.448 1999/01/06 13:55:04 peter Exp $
+# $Id: Makefile,v 1.449 1999/01/06 19:18:45 jkh Exp $
#
# make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ]
#
@@ -448,6 +448,7 @@ release.8: write_mfs_in_kernel dumpnlist
for i in README.TXT RELNOTES.TXT INSTALL.TXT UPGRADE.TXT HARDWARE.TXT; do \
gzip -9c ${.CURDIR}/texts/$${i} > ${RD}/mfsfd/stand/help/$${i}.gz; done
-test -f ${.CURDIR}/install.cfg && cp ${.CURDIR}/install.cfg ${RD}/mfsfd
+ @cp -r /boot ${RD}/mfsfd
@echo "Making the regular boot floppy."
@tar --exclude CVS -cf - -C ${.CURDIR}/sysinstall help | \
tar xf - -C ${RD}/mfsfd/stand
@@ -666,6 +667,7 @@ doMFSKERN:
@echo "Setting up /boot directory for ${FSIMAGE} floppy"
@mkdir -p ${RD}/image.${FSIMAGE}/boot
@cp /boot/* ${RD}/image.${FSIMAGE}/boot
+ @rm -f ${RD}/boot.${FSIMAGE}/boot/netboot
@echo "@load /kernel" > ${RD}/image.${FSIMAGE}/boot/boot.conf
@echo "@echo Please insert MFS root floppy and press enter:" >> ${RD}/image.${FSIMAGE}/boot/boot.conf
@echo "@read" >> ${RD}/image.${FSIMAGE}/boot/boot.conf
@@ -682,11 +684,16 @@ doMFSKERN:
@umount /tmp/mnt_xx
@vnconfig -u /dev/${VNDEVICE}
@rmdir /tmp/mnt_xx
- @echo "Writing MFS image into kzip kernel for ${FSIMAGE} floppy"
+ @echo "Writing MFS image into kernel for ${FSIMAGE} floppy"
@./write_mfs_in_kernel ${RD}/image.${FSIMAGE}/kernel mfsroot
@cp ${RD}/image.${FSIMAGE}/kernel ${RD}/kernels/MFSKERNEL.${FSIMAGE}
+.if ${MACHINE_ARCH} == "alpha"
+ @gzip -v ${RD}/image.${FSIMAGE}/kernel
+ @mv ${RD}/image.${FSIMAGE}/kernel.gz ${RD}/image.${FSIMAGE}/kernel.gz
+.else
@kzip -v ${RD}/image.${FSIMAGE}/kernel
@mv ${RD}/image.${FSIMAGE}/kernel.kz ${RD}/image.${FSIMAGE}/kernel
+.endif
.else
@echo "Using gzip'd kernel for ${FSIMAGE}"
@gzip -v ${RD}/image.${FSIMAGE}/kernel