Source-Changes-HG archive

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

[src/trunk]: src/distrib/sparc/bootfs quiet this when boot.fs doesn't exist



details:   https://anonhg.NetBSD.org/src/rev/8f6da79e5e84
branches:  trunk
changeset: 488047:8f6da79e5e84
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Jun 17 03:10:23 2000 +0000

description:
quiet this when boot.fs doesn't exist

diffstat:

 distrib/sparc/bootfs/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 14f89a6681bc -r 8f6da79e5e84 distrib/sparc/bootfs/Makefile
--- a/distrib/sparc/bootfs/Makefile     Sat Jun 17 01:35:28 2000 +0000
+++ b/distrib/sparc/bootfs/Makefile     Sat Jun 17 03:10:23 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.20 2000/05/06 14:18:53 sjg Exp $
+#      $NetBSD: Makefile,v 1.21 2000/06/17 03:10:23 matt Exp $
 
 TOP=           ${.CURDIR}/..
 MINIROOT=      ${.CURDIR}/../../miniroot
@@ -37,7 +37,7 @@
 
 BLOCKSIZE=512
 FSTSIZE=32
-FSSIZE!=BLOCKSIZE=${BLOCKSIZE} du -s ${RAMDISK} | awk '{ print $$1 }'
+FSSIZE!=if test -f ${RAMDISK}; then BLOCKSIZE=${BLOCKSIZE} du -s ${RAMDISK} | awk '{ print $$1 }'; else echo 32; fi
 FSSIZE!= expr ${FSTSIZE} \* \( \( ${FSSIZE} + ${FSTSIZE} - 1 \) / ${FSTSIZE} \)
 FSNC!=expr ${FSSIZE} / ${FSTSIZE}
 



Home | Main Index | Thread Index | Old Index