summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-10-15 17:21:05 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-10-15 17:21:05 +0000
commit2ba06b460a6fb669c10e73c795d4722e0969f0c6 (patch)
tree6d75d2bfbfc2926030ea19423aa2dd56f878ae1c /distrib
parent3b7df0f5541178ecb3f438c5bccee271b2e5e526 (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')
-rw-r--r--distrib/amd64/common/install.md6
-rw-r--r--distrib/amd64/common/list7
-rw-r--r--distrib/amd64/ramdiskA/list.local4
-rw-r--r--distrib/amd64/ramdisk_cd/list.local4
-rw-r--r--distrib/i386/common/install.md6
-rw-r--r--distrib/i386/common/list8
6 files changed, 12 insertions, 23 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
diff --git a/distrib/amd64/ramdiskA/list.local b/distrib/amd64/ramdiskA/list.local
index 2b3915f6a33..98798ba6fc6 100644
--- a/distrib/amd64/ramdiskA/list.local
+++ b/distrib/amd64/ramdiskA/list.local
@@ -1,5 +1,3 @@
-# $OpenBSD: list.local,v 1.3 2012/10/13 16:58:08 deraadt Exp $
+# $OpenBSD: list.local,v 1.4 2012/10/15 17:21:04 deraadt Exp $
#TZ # this does not fit on the floppy
-
-COPY ${DESTDIR}/usr/mdec/fdboot usr/mdec/boot
diff --git a/distrib/amd64/ramdisk_cd/list.local b/distrib/amd64/ramdisk_cd/list.local
index 29e5b3b95ff..6d27bea458f 100644
--- a/distrib/amd64/ramdisk_cd/list.local
+++ b/distrib/amd64/ramdisk_cd/list.local
@@ -1,4 +1,4 @@
-# $OpenBSD: list.local,v 1.20 2012/10/12 14:07:46 jsing Exp $
+# $OpenBSD: list.local,v 1.21 2012/10/15 17:21:04 deraadt Exp $
# add local links; use bin/sh since instbin has already been unlinked
LINK instbin bin/sha256
@@ -13,8 +13,6 @@ LINK instbin sbin/mount_ext2fs
LINK instbin sbin/mount_msdos
LINK instbin sbin/mount_udf
-COPY ${DESTDIR}/usr/mdec/boot usr/mdec/boot
-
COPY ${DESTDIR}/etc/firmware/kue etc/firmware/kue
COPY ${DESTDIR}/etc/firmware/bnx-b06 etc/firmware/bnx-b06
diff --git a/distrib/i386/common/install.md b/distrib/i386/common/install.md
index d034c1f9e9e..ebcaca93ed0 100644
--- a/distrib/i386/common/install.md
+++ b/distrib/i386/common/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.54 2012/07/10 14:25:00 halex Exp $
+# $OpenBSD: install.md,v 1.55 2012/10/15 17:21:03 deraadt Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -41,8 +41,8 @@ NCPU=$(sysctl -n hw.ncpufound)
md_installboot() {
# LBA biosboot uses /boot's i-node number. Using 'cat' preserves that
# number, so multiboot setups (NTLDR) can work across upgrades.
- 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/i386/common/list b/distrib/i386/common/list
index 71ff6961301..911dfc3a184 100644
--- a/distrib/i386/common/list
+++ b/distrib/i386/common/list
@@ -1,8 +1,7 @@
-# $OpenBSD: list,v 1.26 2010/10/18 04:07:50 deraadt Exp $
+# $OpenBSD: list,v 1.27 2012/10/15 17:21:03 deraadt Exp $
SRCDIRS distrib/special
SRCDIRS bin sbin usr.bin usr.sbin
-SRCDIRS sys/arch/i386/stand
# copy the crunched binary, link to it, and kill it
COPY ${OBJDIR}/instbin instbin
@@ -52,16 +51,13 @@ 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
-COPY ${DESTDIR}/usr/mdec/boot usr/mdec/boot
# various files that we need in /etc for the install
COPY ${DESTDIR}/etc/group etc/group