Subject: distrib/miniroot/Makefile change
To: None <>
From: Ignatios Souvatzis <>
List: tech-install
Date: 02/11/2002 22:23:17

I've been working to make Amiga possible.
One change that I need is to explicitly use the building hosts raw partition
instead of assuming that all machines look like the one I build on.

Any objections? [2]


Appendix [1]: the diff

Index: distrib/miniroot/Makefile
RCS file: /cvsroot/basesrc/distrib/miniroot/Makefile,v
retrieving revision 1.46
diff -u -r1.46 Makefile
--- distrib/miniroot/Makefile   2002/02/09 13:56:51     1.46
+++ distrib/miniroot/Makefile   2002/02/11 21:15:22
@@ -13,9 +13,10 @@
 .include "${ARCHDIR}/"
+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}
 IMAGE?=                miniroot.fs
 IMAGESIZE?=    14336 # 7MB in 512 byte blocks

Appendix [2]: Yes, I should move to makefs. However, I've been taught to test
relatively small, logically seperated, changes seperately.