summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-01-19 04:11:45 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-01-19 04:11:45 +0000
commita5eedbc175601c000fecfd9b0fabeb3d0910c779 (patch)
tree29daa0e34449e68ea0875d087581d1fd872da64c /distrib
parent58fcae46314e8946cf28a52777ea4e2cc81771c3 (diff)
Use the new installboot when building amd64 media.
Diffstat (limited to 'distrib')
-rw-r--r--distrib/amd64/common/Makefile.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/distrib/amd64/common/Makefile.inc b/distrib/amd64/common/Makefile.inc
index 5fdb69b335c..1ab9604a965 100644
--- a/distrib/amd64/common/Makefile.inc
+++ b/distrib/amd64/common/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.23 2013/10/15 22:46:48 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.24 2014/01/19 04:11:44 jsing Exp $
TOP= ${.CURDIR}/..
@@ -35,10 +35,9 @@ ${FS}: bsd.gz
cp ${BOOT} ${.OBJDIR}/boot
strip ${.OBJDIR}/boot
strip -R .comment ${.OBJDIR}/boot
- dd if=${.OBJDIR}/boot of=${MOUNT_POINT}/boot bs=512
dd if=bsd.gz of=${MOUNT_POINT}/bsd bs=512
- /usr/mdec/installboot -v ${MOUNT_POINT}/boot \
- ${DESTDIR}/usr/mdec/biosboot ${VND_CRDEV}
+ installboot -v -r ${MOUNT_POINT} ${VND_CRDEV} \
+ ${DESTDIR}/usr/mdec/biosboot ${.OBJDIR}/boot
@echo ""
@df -i ${MOUNT_POINT}
@echo ""