Source-Changes-HG archive

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

[src/netbsd-1-5]: src/distrib/x68k/floppies/ramdisk Pull up file removal (req...



details:   https://anonhg.NetBSD.org/src/rev/c13fe90e1747
branches:  netbsd-1-5
changeset: 490396:c13fe90e1747
user:      he <he%NetBSD.org@localhost>
date:      Fri Dec 15 05:30:15 2000 +0000

description:
Pull up file removal (requested by minoura):
  Reorganize installation system by removing the old script based
  installer, provided for 4M systems.  Instead we provide
  ``floppy-root'' 2-floppy installer.

diffstat:

 distrib/x68k/floppies/ramdisk/Makefile        |   35 -
 distrib/x68k/floppies/ramdisk/dot.hdprofile   |   65 ---
 distrib/x68k/floppies/ramdisk/dot.profile     |   65 ---
 distrib/x68k/floppies/ramdisk/install.tmpl    |  516 --------------------------
 distrib/x68k/floppies/ramdisk/list            |  100 -----
 distrib/x68k/floppies/ramdisk/mtree.conf      |   72 ---
 distrib/x68k/floppies/ramdisk/ramdiskbin.conf |   39 -
 distrib/x68k/floppies/ramdisk/start.tmpl      |   45 --
 distrib/x68k/floppies/ramdisk/upgrade.tmpl    |  282 --------------
 9 files changed, 0 insertions(+), 1219 deletions(-)

diffs (truncated from 1255 to 300 lines):

diff -r dc27571546c3 -r c13fe90e1747 distrib/x68k/floppies/ramdisk/Makefile
--- a/distrib/x68k/floppies/ramdisk/Makefile    Fri Dec 15 05:11:36 2000 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-#      $NetBSD: Makefile,v 1.15.4.2 2000/09/14 14:28:07 minoura Exp $
-
-TOP=           ${.CURDIR}/..
-COMMONDIR=     ${TOP}/ramdisk-common
-
-IMAGE=         ramdisk.fs
-
-AUXTARGETS=    install.sh upgrade.sh start.sh
-AUXDEPENDS=    ${AUXTARGETS} \
-               ${COMMONDIR}/termcap.vt ${COMMONDIR}/disktab.preinstall \
-               ${COMMONDIR}/installboot.sh
-AUXCLEAN=      ${AUXTARGETS}
-
-CBIN=          ramdiskbin
-
-RAMDISKSPT=    15
-RAMDISKCYLS=   80
-RAMDISKHEADS=  2
-RAMDISKCPG=    80
-RAMDISKBPI=    5120
-
-install.sh: install.tmpl
-       sed "s/@@VERSION@@/${VER}/" < ${.ALLSRC} > ${.TARGET}
-
-upgrade.sh: upgrade.tmpl
-       sed "s/@@VERSION@@/${VER}/" < ${.ALLSRC} > ${.TARGET}
-
-start.sh: start.tmpl
-       sed "s/@@VERSION@@/${VER}/" < ${.ALLSRC} > ${.TARGET}
-
-.include "${COMMONDIR}/Makefile.inc"
-
-.include <bsd.own.mk>
-.include <bsd.obj.mk>
-.include <bsd.sys.mk>
diff -r dc27571546c3 -r c13fe90e1747 distrib/x68k/floppies/ramdisk/dot.hdprofile
--- a/distrib/x68k/floppies/ramdisk/dot.hdprofile       Fri Dec 15 05:11:36 2000 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-# $NetBSD: dot.hdprofile,v 1.7.2.1 2000/09/14 14:15:24 minoura 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=x68k
-export TERM
-HOME=/
-export HOME
-
-umask 022
-
-if [ "X${DONEPROFILE}" = "X" ]; then
-       DONEPROFILE=YES
-       export DONEPROFILE
-
-       echo "Checking filesystems..."
-       fsck -y
-
-       echo "Mounting filesystems..."
-       mount -a
-
-       # set up some sane defaults
-       echo 'erase ^?, werase ^W, kill ^U, intr ^C'
-       stty newcrt werase ^W intr ^C kill ^U erase ^? 9600
-       echo ''
-
-       # 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 dc27571546c3 -r c13fe90e1747 distrib/x68k/floppies/ramdisk/dot.profile
--- a/distrib/x68k/floppies/ramdisk/dot.profile Fri Dec 15 05:11:36 2000 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-# $NetBSD: dot.profile,v 1.10.2.1 2000/09/14 14:15:24 minoura 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>>
-
-PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
-export PATH
-TERM=x68k
-export TERM
-HOME=/
-export HOME
-
-umask 022
-
-ROOTDEV=/dev/md0a
-
-if [ "X${DONEPROFILE}" = "X" ]; then
-       DONEPROFILE=YES
-       export DONEPROFILE
-
-       # set up some sane defaults
-       echo 'erase ^?, werase ^W, kill ^U, intr ^C'
-       stty newcrt werase ^W intr ^C kill ^U erase ^? 9600
-       echo ''
-
-       # mount the ramdisk read write
-       mount -u $ROOTDEV /
-
-       # pull in the functions that people will use from the shell prompt.
-       . /.commonutils
-       . /.instutils
-
-       # run the installation or upgrade script.
-       . /start
-fi
diff -r dc27571546c3 -r c13fe90e1747 distrib/x68k/floppies/ramdisk/install.tmpl
--- a/distrib/x68k/floppies/ramdisk/install.tmpl        Fri Dec 15 05:11:36 2000 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,516 +0,0 @@
-#!/bin/sh
-# $NetBSD: install.tmpl,v 1.10.2.1 2000/09/14 14:15:24 minoura 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   ""
-
-# support only SCSI disks.
-drivetype=sd
-sect_fwd=""
-type=SCSI
-prefdrive=${drivetype}0
-
-# 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    "No devices for disks of type '${drivetype}'."
-       echo    "This is probably a bug in the install disks."
-       echo    "Exiting install program."
-       exit
-fi
-
-echo   "NetBSD can be SCSI disks."
-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



Home | Main Index | Thread Index | Old Index