summaryrefslogtreecommitdiff
path: root/distrib/hp300/ramdisk/install.sh
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-04-21 07:32:14 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-04-21 07:32:14 +0000
commitb589590030ead87cb21a5ed1b84e7b2509148ea7 (patch)
treefdfa242055177980dde079b4a3c90e1915381835 /distrib/hp300/ramdisk/install.sh
parentac618a0d894bf2914e4fe7652f1e2ac786ffa81c (diff)
Lots of changes...
* Build via a vnd, ala i386. * Remove most of the sleep calls and all of the background processing. * Add the notion of `kernel sets'. * Add a couple more binaries to the ramdisk.
Diffstat (limited to 'distrib/hp300/ramdisk/install.sh')
-rw-r--r--distrib/hp300/ramdisk/install.sh19
1 files changed, 10 insertions, 9 deletions
diff --git a/distrib/hp300/ramdisk/install.sh b/distrib/hp300/ramdisk/install.sh
index 415879a02d9..10d7018b65e 100644
--- a/distrib/hp300/ramdisk/install.sh
+++ b/distrib/hp300/ramdisk/install.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sh,v 1.2 1997/02/23 19:10:52 downsj Exp $
+# $OpenBSD: install.sh,v 1.3 1997/04/21 07:32:12 downsj Exp $
# $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -91,10 +91,10 @@ echo -n "Is this a (s)napshot or (r)elease? [s] "
getresp "s"
case "$resp" in
s*|S*)
- THESETS="$SNAPSETS"
+ THESETS="$SNAPSETS $KERNSETS"
;;
r*|R*)
- THESETS="$ALLSETS"
+ THESETS="$ALLSETS $KERNSETS"
;;
*)
md_not_going_to_install
@@ -401,12 +401,13 @@ install_sets $ALLSETS $MDSETS
if [ ! -x /mnt/dev/MAKEDEV ]; then
echo "No /dev/MAKEDEV installed, something is wrong here..."
else
- echo -n "Making devices..."
- pid=`twiddle`
- cd /mnt/dev
- sh MAKEDEV all
- kill $pid
- echo "done."
+ # Check if a device exists... snapshots have a dev.tar.gz
+ if [ ! -e /mnt/dev/rsd0a ]; then
+ echo -n "Making devices..."
+ cd /mnt/dev
+ sh MAKEDEV all
+ echo "done."
+ fi
fi
md_copy_kernel