diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-10-15 17:21:05 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-10-15 17:21:05 +0000 |
commit | 2ba06b460a6fb669c10e73c795d4722e0969f0c6 (patch) | |
tree | 6d75d2bfbfc2926030ea19423aa2dd56f878ae1c /distrib/amd64/common | |
parent | 3b7df0f5541178ecb3f438c5bccee271b2e5e526 (diff) |
use the baseXX installed /usr/mdec directory instead of placing lots of
heavy boot media into the ramdisk. i386 tested by okan, amd64 tested
by florian.
Diffstat (limited to 'distrib/amd64/common')
-rw-r--r-- | distrib/amd64/common/install.md | 6 | ||||
-rw-r--r-- | distrib/amd64/common/list | 7 |
2 files changed, 5 insertions, 8 deletions
diff --git a/distrib/amd64/common/install.md b/distrib/amd64/common/install.md index 1472086b241..36827e94f9e 100644 --- a/distrib/amd64/common/install.md +++ b/distrib/amd64/common/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.31 2012/07/13 14:50:34 halex Exp $ +# $OpenBSD: install.md,v 1.32 2012/10/15 17:21:04 deraadt Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -40,8 +40,8 @@ NCPU=$(sysctl -n hw.ncpufound) md_installboot() { # Use cat to avoid holes created by cp(1) - cat /usr/mdec/boot > /mnt/boot - if ! /usr/mdec/installboot /mnt/boot /usr/mdec/biosboot ${1} ; then + cat /mnt/usr/mdec/boot > /mnt/boot + if ! /mnt/usr/mdec/installboot /mnt/boot /mnt/usr/mdec/biosboot ${1} ; then echo "\nFailed to install bootblocks." echo "You will not be able to boot OpenBSD from ${1}." exit diff --git a/distrib/amd64/common/list b/distrib/amd64/common/list index 39c9e64a15d..8cb6818d9b5 100644 --- a/distrib/amd64/common/list +++ b/distrib/amd64/common/list @@ -1,7 +1,6 @@ -# $OpenBSD: list,v 1.25 2012/10/12 14:07:46 jsing Exp $ +# $OpenBSD: list,v 1.26 2012/10/15 17:21:04 deraadt Exp $ SRCDIRS distrib/special -SRCDIRS sys/arch/amd64/stand SRCDIRS bin sbin usr.bin usr.sbin # copy the crunched binary, link to it, and kill it @@ -51,14 +50,12 @@ LINK instbin usr/bin/gzip usr/bin/gunzip usr/bin/gzcat LINK instbin usr/bin/less usr/bin/more LINK instbin usr/bin/sed LINK instbin sbin/sysctl -LINK instbin usr/mdec/installboot # copy the MAKEDEV script and make some devices SCRIPT ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV SPECIAL cd dev; sh MAKEDEV ramdisk -# we need the contents of /usr/mdec -COPY ${DESTDIR}/usr/mdec/biosboot usr/mdec/biosboot +# for fdisk(8) COPY ${DESTDIR}/usr/mdec/mbr usr/mdec/mbr # various files that we need in /etc for the install |