From 430cc244875f3f45805df44671d5536b2c9e4146 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 31 Aug 2022 18:46:07 +0000 Subject: 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@ --- distrib/special/installboot/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'distrib') 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 -- cgit v1.2.3