Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/i386/floppies/bootfloppy-big revert revs 1.10 (and 1...



details:   https://anonhg.NetBSD.org/src/rev/9adf9c701bd3
branches:  trunk
changeset: 521685:9adf9c701bd3
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Feb 03 14:58:24 2002 +0000

description:
revert revs 1.10 (and 1.11); now back to using the ustarfs build framework
from ../bootfloppy-common/Makefile.inc like the other boot floppies.
it wasn't ustarfs that was broken, it was the broken PAD=yes code in the
latter trashing the last 8k of the kernel...

diffstat:

 distrib/i386/floppies/bootfloppy-big/Makefile |  62 +--------------------------
 1 files changed, 2 insertions(+), 60 deletions(-)

diffs (78 lines):

diff -r 3b3f5c250579 -r 9adf9c701bd3 distrib/i386/floppies/bootfloppy-big/Makefile
--- a/distrib/i386/floppies/bootfloppy-big/Makefile     Sun Feb 03 14:56:00 2002 +0000
+++ b/distrib/i386/floppies/bootfloppy-big/Makefile     Sun Feb 03 14:58:24 2002 +0000
@@ -1,10 +1,9 @@
-#      $NetBSD: Makefile,v 1.11 2001/11/08 02:10:26 christos Exp $
+#      $NetBSD: Makefile,v 1.12 2002/02/03 14:58:24 lukem Exp $
 
 TOP=   ${.CURDIR}/..
 
 .include "${TOP}/Makefile.inc"
 
-COMMONDIR=     ${TOP}/bootfloppy-common
 IMAGE= boot-big.fs
 KERN!= cd $(.CURDIR)/../kernel-ramdisk/; \
         printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/netbsd.INSTALL.gz\n" | \
@@ -30,61 +29,4 @@
 BLOCK8K=       359
 PAD=yes
 
-MOUNT_POINT?=  /mnt
-VND?=          vnd0
-VND_DEV=       /dev/${VND}a
-VND_RDEV=      /dev/r${VND}a
-MDEC=          ${DESTDIR}/usr/mdec
-BOOTCODE=      ${MDEC}/biosboot.sym
-STRIP?=                strip
-
-LISTS?=                ${COMMONDIR}/list
-
-# Some reasonable values for the -i parameter to newfs are:
-#
-#   6144       1147k, 189 inodes free
-#  16384       1159k,  93 inodes free
-# on 1.44M:
-# 204800       1407k,  27 inodes free
-# (with a 4k blocksize, one cannot get fewer than ~32 inodes allocated)
-
-INO_BYTES?=    204800
-
-CLEANFILES+=   netbsd
-
-realall:       netbsd
-       -rm -f ${IMAGE}.tmp
-       dd if=/dev/zero of=${IMAGE}.tmp count=${DISKSIZE}
-       vnconfig -t ${DISKTYPE} -v -c ${VND} ${IMAGE}.tmp
-       disklabel -rw ${VND} ${DISKTYPE}
-       newfs -B le -m 0 -o space -i ${INO_BYTES} -c 80 ${VND_RDEV}
-       ${MDEC}/installboot -v -f ${BOOTCODE} ${VND_RDEV}
-       mount ${VND_DEV} ${MOUNT_POINT}
-       TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} \
-           TARGDIR=${MOUNT_POINT} sh ${TOP}/runlist.sh ${LISTS}
-       @echo ""
-       @df -i ${MOUNT_POINT}
-       umount ${MOUNT_POINT}
-       vnconfig -u ${VND}
-       mv -f ${IMAGE}.tmp ${IMAGE}
-
-unconfig:
-       -umount -f ${MOUNT_POINT}
-       -vnconfig -u ${VND}
-       -/bin/rm -f ${IMAGE} ${IMAGE}.tmp
-
-netbsd: ${KERN}
-       rm -f netbsd
-       cp ${KERN} netbsd
-
-release:
-       -mkdir -p ${RELEASEDIR}/installation/floppy
-       cp -p ${IMAGE} ${RELEASEDIR}/installation/floppy
-       gzip <${IMAGE} >${RELEASEDIR}/installation/floppy/${IMAGE}.gz
-
-clean cleandir distclean:
-       /bin/rm -f *.core ${CLEANFILES} ${IMAGE} ${IMAGE}.tmp
-
-.include <bsd.own.mk>
-.include <bsd.obj.mk>
-.include <bsd.subdir.mk>
+.include "${TOP}/bootfloppy-common/Makefile.inc"



Home | Main Index | Thread Index | Old Index