Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/distrib/i386/floppies Sync with -current (approved by j...
details: https://anonhg.NetBSD.org/src/rev/1a20936e64ca
branches: netbsd-1-5
changeset: 489726:1a20936e64ca
user: fvdl <fvdl%NetBSD.org@localhost>
date: Mon Oct 09 13:27:40 2000 +0000
description:
Sync with -current (approved by jhawk).
Original log message:
Remove old files in preparation of rearrangement.
diffstat:
distrib/i386/floppies/bootfloppy/Makefile | 12 -
distrib/i386/floppies/ramdisk-kernel/Makefile | 51 --
distrib/i386/floppies/ramdisk-tiny/dot.hdprofile | 67 ---
distrib/i386/floppies/ramdisk-tiny/install.tmpl | 513 -----------------------
distrib/i386/floppies/ramdisk-tiny/start.tmpl | 49 --
distrib/i386/floppies/ramdisk-tiny/upgrade.tmpl | 257 -----------
distrib/i386/floppies/ramdisk/Makefile | 90 ----
distrib/i386/floppies/ramdisk/Makefile.inc | 53 --
distrib/i386/floppies/ramdisk/disktab.preinstall | 31 -
distrib/i386/floppies/ramdisk/dot.hdprofile | 62 --
distrib/i386/floppies/ramdisk/dot.profile | 74 ---
distrib/i386/floppies/ramdisk/install.tmpl | 513 -----------------------
distrib/i386/floppies/ramdisk/list | 120 -----
distrib/i386/floppies/ramdisk/mtree.conf | 100 ----
distrib/i386/floppies/ramdisk/ramdiskbin.conf | 51 --
distrib/i386/floppies/ramdisk/start.tmpl | 49 --
distrib/i386/floppies/ramdisk/termcap.mini | 61 --
distrib/i386/floppies/ramdisk/upgrade.tmpl | 257 -----------
18 files changed, 0 insertions(+), 2410 deletions(-)
diffs (truncated from 2482 to 300 lines):
diff -r fd10588a4a92 -r 1a20936e64ca distrib/i386/floppies/bootfloppy/Makefile
--- a/distrib/i386/floppies/bootfloppy/Makefile Mon Oct 09 13:16:24 2000 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-# $NetBSD: Makefile,v 1.6 2000/05/05 20:13:30 mycroft Exp $
-
-TOP= ${.CURDIR}/..
-
-.include "${TOP}/Makefile.inc"
-
-IMAGE= boot.fs
-KERN!= cd $(.CURDIR)/../ramdisk-kernel/; \
- printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/netbsd.INSTALL.gz\n" | \
- ${MAKE} -s -f-
-
-.include "${TOP}/bootfloppy-common/Makefile.inc"
diff -r fd10588a4a92 -r 1a20936e64ca distrib/i386/floppies/ramdisk-kernel/Makefile
--- a/distrib/i386/floppies/ramdisk-kernel/Makefile Mon Oct 09 13:16:24 2000 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-# $NetBSD: Makefile,v 1.5.2.2 2000/09/27 14:48:36 taca Exp $
-
-TOP= ${.CURDIR}/..
-
-.include "${TOP}/Makefile.inc"
-.include <bsd.kernobj.mk>
-.include <bsd.own.mk>
-
-MDEC= ${DESTDIR}/usr/mdec
-STRIP?= strip
-
-COMMONDIR= ${TOP}/bootfloppy-common
-LISTS= ${COMMONDIR}/list
-RAMDISK!= cd $(.CURDIR)/../ramdisk/; \
- printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk.fs\n" | \
- ${MAKE} -s -f-
-RAMDISK_T!= cd ${.CURDIR}/../ramdisk-tiny/; \
- printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk-tiny.fs\n" | \
- ${MAKE} -s -f-
-
-netbsd.INSTALL.gz: .NOTMAIN ${KERNOBJDIR}/INSTALL/netbsd ${RAMDISK}
- cp ${KERNOBJDIR}/INSTALL/netbsd netbsd.tmp
- ${DESTDIR}/usr/sbin/mdsetimage -v netbsd.tmp ${RAMDISK}
- nm netbsd.tmp > netbsd.INSTALL.symbols
- ${STRIP} netbsd.tmp
- gzip -9 netbsd.tmp
- mv netbsd.tmp.gz ${.TARGET}
-
-netbsd.INSTALL_TINY.gz: .NOTMAIN ${KERNOBJDIR}/INSTALL_TINY/netbsd ${RAMDISK_T}
- cp ${KERNOBJDIR}/INSTALL_TINY/netbsd netbsd.tmp
- ${DESTDIR}/usr/sbin/mdsetimage -v netbsd.tmp ${RAMDISK_T}
- nm netbsd.tmp > netbsd.INSTALL_TINY.symbols
- ${STRIP} netbsd.tmp
- gzip -9 netbsd.tmp
- mv netbsd.tmp.gz ${.TARGET}
-
-KERNELS=netbsd.INSTALL.gz netbsd.INSTALL_TINY.gz
-KERNELSYMS=netbsd.INSTALL.symbols netbsd.INSTALL_TINY.symbols
-
-all: ${KERNELS}
-
-release:
- -mkdir -p ${RELEASEDIR}/binary/kernel
- cp -p ${KERNELS} ${RELEASEDIR}/binary/kernel
- cp ${KERNELSYMS} ${RELEASEDIR}/binary/kernel
-
-clean cleandir distclean:
- rm -f *.core ${KERNELS} ${KERNELSYMS}
-
-.include <bsd.obj.mk>
-.include <bsd.subdir.mk>
diff -r fd10588a4a92 -r 1a20936e64ca distrib/i386/floppies/ramdisk-tiny/dot.hdprofile
--- a/distrib/i386/floppies/ramdisk-tiny/dot.hdprofile Mon Oct 09 13:16:24 2000 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-# $NetBSD: dot.hdprofile,v 1.3 2000/06/14 17:24:33 cgd Exp $
-#
-# Copyright (c) 1994 Christopher G. Demetriou
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# 1. Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# 3. All advertising materials mentioning features or use of this software
-# must display the following acknowledgement:
-# This product includes software developed for the
-# NetBSD Project. See http://www.netbsd.org/ for
-# information about NetBSD.
-# 4. The name of the author may not be used to endorse or promote products
-# derived from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
-# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
-
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-TERM=pc3
-export TERM
-HOME=/
-export HOME
-
-umask 022
-
-if [ "X${DONEPROFILE}" = "X" ]; then
- DONEPROFILE=YES
- export DONEPROFILE
-
- echo "Checking filesystems..."
- fsck -y
-
- echo "Mounting root..."
- mount -u /
-
- # set up some sane defaults
- echo 'erase ^?, werase ^W, kill ^U, intr ^C'
- stty newcrt werase ^W intr ^C kill ^U erase ^? 9600
- echo ''
-
- TERMCAP=/.termcap ; export TERMCAP
-
- # pull in the functions that people will use from the shell prompt.
- . /.commonutils
- . /.instutils
-
- echo "Follow the installation directions to install the NetBSD"
- echo "distribution sets."
-fi
diff -r fd10588a4a92 -r 1a20936e64ca distrib/i386/floppies/ramdisk-tiny/install.tmpl
--- a/distrib/i386/floppies/ramdisk-tiny/install.tmpl Mon Oct 09 13:16:24 2000 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,513 +0,0 @@
-#!/bin/sh
-# $NetBSD: install.tmpl,v 1.3 2000/06/14 22:52:43 cgd Exp $
-#
-# Copyright (c) 1997 Perry E. Metzger
-# Copyright (c) 1994 Christopher G. Demetriou
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# 1. Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# 3. All advertising materials mentioning features or use of this software
-# must display the following acknowledgement:
-# This product includes software developed for the
-# NetBSD Project. See http://www.netbsd.org/ for
-# information about NetBSD.
-# 4. The name of the author may not be used to endorse or promote products
-# derived from this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
-# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
-# <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
-
-# NetBSD installation script.
-# In a perfect world, this would be a nice C program, with a reasonable
-# user interface.
-
-DT=/etc/disktab # /etc/disktab
-FSTABDIR=/mnt/etc # /mnt/etc
-#DONTDOIT=echo
-ASYNC="-o async"
-
-FSTAB=${FSTABDIR}/fstab
-
-getresp() {
- read resp
- if [ "X$resp" = "X" ]; then
- resp=$1
- fi
-}
-
-echo "Welcome to the NetBSD @@VERSION@@ installation program."
-echo ""
-echo "This program is designed to help you put NetBSD on your hard disk,"
-echo "in a simple and rational way. You'll be asked several questions,"
-echo "and it would probably be useful to have your disk's hardware"
-echo "manual, the installation notes, and a calculator handy."
-echo ""
-echo "In particular, you will need to know some reasonably detailed"
-echo "information about your disk's geometry, because there is currently"
-echo "no way this this program can figure that information out."
-echo ""
-echo "As with anything which modifies your hard drive's contents, this"
-echo "program can cause SIGNIFICANT data loss, and you are advised"
-echo "to make sure your hard drive is backed up before beginning the"
-echo "installation process."
-echo ""
-echo "Default answers are displyed in brackets after the questions."
-echo "You can hit Control-C at any time to quit, but if you do so at a"
-echo "prompt, you may have to hit return. Also, quitting in the middle of"
-echo "installation may leave your system in an inconsistent state."
-echo ""
-echo -n "Proceed with installation? [n] "
-getresp "n"
-case "$resp" in
- y*|Y*)
- echo "Cool! Let's get to it..."
- ;;
- *)
- echo ""
- echo "OK, then. Enter 'halt' at the prompt to halt the"
- echo "machine. Once the machine has halted, remove the"
- echo "floppy and press any key to reboot."
- exit
- ;;
-esac
-
-echo ""
-echo "To do the installation, you'll need to provide some information about"
-echo "your disk."
-echo ""
-echo "NetBSD can be installed on ST506, ESDI, IDE, or SCSI disks."
-echo -n "What kind of disk will you be installing on? [SCSI] "
-getresp "SCSI"
-case "$resp" in
- esdi|ESDI|st506|ST506)
- drivetype=wd
- echo -n "Does it support _automatic_ sector remapping? [y] "
- getresp "y"
- case "$resp" in
- n*|N*)
- sect_fwd="sf:"
- ;;
- *)
- sect_fwd=""
- ;;
- esac
- ;;
- ide|IDE)
- drivetype=wd
- sect_fwd=""
- type=ST506
- ;;
- scsi|SCSI)
- drivetype=sd
- sect_fwd=""
- type=SCSI
- ;;
-esac
-
-# find out what units are possible for that disk, and query the user.
-driveunits=`ls /dev/${drivetype}?a | sed -e 's,/dev/\(...\)a,\1,g'`
-if [ "X${driveunits}" = "X" ]; then
- echo "FATAL ERROR:"
- echo "No devices for disks of type '${drivetype}'."
- echo "This is probably a bug in the install disks."
- echo "Exiting install program."
- exit
-fi
-prefdrive=${drivetype}0
-
-echo ""
-echo "The following ${drivetype}-type disks are supported by this"
-echo "installation procedure:"
-echo " "${driveunits}
-echo "Note that they may not exist in _your_ machine; the list of"
-echo "disks in your machine was printed when the system was booting."
-echo ""
-while [ "X${drivename}" = "X" ]; do
- echo -n "Which disk would like to install on? [${prefdrive}] "
- getresp ${prefdrive}
- otherdrives=`echo "${driveunits}" | sed -e s,${resp},,`
- if [ "X${driveunits}" = "X${otherdrives}" ]; then
- echo ""
- echo "\"${resp}\" is an invalid drive name. Valid choices"
- echo "are: "${driveunits}
- echo ""
- else
- drivename=${resp}
- fi
-done
Home |
Main Index |
Thread Index |
Old Index