summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2022-08-31 18:46:07 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2022-08-31 18:46:07 +0000
commit430cc244875f3f45805df44671d5536b2c9e4146 (patch)
tree1159dbe6ea3e50443d4388eae27c5b4c298e7bc1 /distrib
parentb393df9da7f84fc9af7c1ab961778d073125fb34 (diff)
Make installboot on landisk aware of a possible MBR on the disk, and in this
case install the first level bootstrap at the beginning of the of the wd0a filesystem, rather than at the beginning of the disk. Both locations work but the previous behaviour overwriting an existing MBR is a violation of POLA. tweaks & ok krw@
Diffstat (limited to 'distrib')
-rw-r--r--distrib/special/installboot/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/distrib/special/installboot/Makefile b/distrib/special/installboot/Makefile
index cfc4d7bdefd..9b461c0ac61 100644
--- a/distrib/special/installboot/Makefile
+++ b/distrib/special/installboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.17 2022/08/24 21:08:51 kn Exp $
+# $OpenBSD: Makefile,v 1.18 2022/08/31 18:46:06 miod Exp $
.PATH: ${.CURDIR}/../../../usr.sbin/installboot
@@ -24,7 +24,6 @@ SRCS += efi_installboot.c
CFLAGS += -DBOOTSTRAP
SRCS += hppa_installboot.c
.elif ${MACHINE} == "landisk"
-CFLAGS += -DBOOTSTRAP
SRCS += landisk_installboot.c
.elif ${MACHINE} == "loongson"
SRCS += loongson_installboot.c