summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-10-20 03:42:12 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-10-20 03:42:12 +0000
commit754d8f26fcf0e9169422b4edfc94dfa88c89c4e0 (patch)
treea38dae84d7cd45663adce1a1e4e6f8e24242bdcd
parent669ee4da512c25fc1a5ca406c4101f1c8567db98 (diff)
Increase inodes, make compressed ramdisk build automatic.
-rw-r--r--distrib/hp300/ramdisk/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/distrib/hp300/ramdisk/Makefile b/distrib/hp300/ramdisk/Makefile
index 3dd9313abf2..819f4175022 100644
--- a/distrib/hp300/ramdisk/Makefile
+++ b/distrib/hp300/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 1997/09/26 02:09:54 millert Exp $
+# $OpenBSD: Makefile,v 1.8 1997/10/20 03:42:11 downsj Exp $
# $NetBSD: Makefile,v 1.1 1995/07/18 04:13:06 briggs Exp $
TOP= ${.CURDIR}/..
@@ -17,22 +17,19 @@ VND_CRDEV= /dev/r${VND}c
PID!= echo $$$$
REALIMAGE!= echo /var/tmp/image.${PID}
-all: ${CBIN} ${IMAGE}
+all: ${CBIN} ${IMAGE} bsd.rd
@echo "all done"
.include "Makefile.inc"
DISKTYPE= rdroot
NBLKS= 4096
-# minfree, opt, b/i trks, sects, cpg
-NEWFSARGS= -m 0 -o space -c 16 -i 4096
-
-bsd.gz: bsd.rd
- gzip -c9 bsd.rd > bsd.gz
+NEWFSARGS= -m 0 -o space -c 16 -i 3072
bsd.rd: ${IMAGE} bsd rdsetroot
- cp bsd bsd.rd
- ${.OBJDIR}/rdsetroot bsd.rd < ${IMAGE}
+ ${.OBJDIR}/rdsetroot bsd < ${IMAGE}
+ gzip -c9 bsd > bsd.rd
+ rm bsd
bsd:
cd ${.CURDIR}/../../../sys/arch/hp300/conf && config RAMDISK