Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/miniroot Use the building machine's raw partition in...
details: https://anonhg.NetBSD.org/src/rev/8ad49186acd4
branches: trunk
changeset: 522193:8ad49186acd4
user: is <is%NetBSD.org@localhost>
date: Tue Feb 12 11:17:47 2002 +0000
description:
Use the building machine's raw partition instead of fixed "c" to allow
cross-building.
diffstat:
distrib/miniroot/Makefile | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 3949efd4774a -r 8ad49186acd4 distrib/miniroot/Makefile
--- a/distrib/miniroot/Makefile Tue Feb 12 10:51:49 2002 +0000
+++ b/distrib/miniroot/Makefile Tue Feb 12 11:17:47 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2002/02/12 01:38:17 lukem Exp $
+# $NetBSD: Makefile,v 1.48 2002/02/12 11:17:47 is Exp $
.include "../../Makefile.inc"
.include <bsd.own.mk>
@@ -11,9 +11,10 @@
.include "${ARCHDIR}/Makefile.inc"
.endif
+HOST_RAWPART!= sysctl -n kern.rawpartition | tr '0-9a-f' 'a-p'
VND?= vnd0
-VND_DEV= /dev/${VND}c
-VND_RDEV= /dev/r${VND}c
+VND_DEV= /dev/${VND}${HOST_RAWPART}
+VND_RDEV= /dev/r${VND}${HOST_RAWPART}
VND_GEOM?=
IMAGE?= miniroot.fs
IMAGESIZE?= 14336 # 7MB in 512 byte blocks
Home |
Main Index |
Thread Index |
Old Index