summaryrefslogtreecommitdiff
path: root/distrib/simpleroot/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-06-23 19:45:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-06-23 19:45:04 +0000
commitd83f5786ed940c67fb7d66cc4945a1b84f6279af (patch)
tree7eb4382f0b4f8a5b9b50615f865e3fffb407de80 /distrib/simpleroot/Makefile
parent12ce374fe89e95dea19bb150c4921a44f38e2b67 (diff)
argh. stop using kernfs, using dmesg using sysctl. encode ARCH into
install.md at build time. remove some crud. and the icing on the cake: skip testing all this until next week
Diffstat (limited to 'distrib/simpleroot/Makefile')
-rw-r--r--distrib/simpleroot/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/simpleroot/Makefile b/distrib/simpleroot/Makefile
index 5ea8158cd3b..e3298576cb9 100644
--- a/distrib/simpleroot/Makefile
+++ b/distrib/simpleroot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 1998/06/27 20:52:12 todd Exp $
+# $OpenBSD: Makefile,v 1.14 2001/06/23 19:44:56 deraadt Exp $
REV= ${OSrev}
@@ -46,8 +46,8 @@ all:
chmod 755 ${MOUNT_POINT}/install
sed "/^VERSION=/s/=.*/=${REV}/" < ${.CURDIR}/install.sub \
> ${MOUNT_POINT}/install.sub
- cp ${.CURDIR}/../${MACHINE}/install.md ${MOUNT_POINT}/install.md
- mkdir -p ${MOUNT_POINT}/kern
+ sed -e "s/^ARCH=ARCH$/ARCH=`arch -s`/" \
+ ${.CURDIR}/../${MACHINE}/install.md > ${MOUNT_POINT}/install.md
mkdir -p ${MOUNT_POINT}/mnt2
.if exists(/sbin/ldconfig)
/usr/sbin/chroot ${MOUNT_POINT} /sbin/ldconfig