diff options
author | ru <ru@FreeBSD.org> | 2002-03-28 08:23:33 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-03-28 08:23:33 +0000 |
commit | 702cd9122652ce1a20fc0828569cb4e292f2cd82 (patch) | |
tree | 37dfe5a542157dd602514b7ed19e6b40a81b7b23 /release | |
parent | 5a1b52129d198a637050da36428c829df8b774d0 (diff) | |
download | FreeBSD-src-702cd9122652ce1a20fc0828569cb4e292f2cd82.zip FreeBSD-src-702cd9122652ce1a20fc0828569cb4e292f2cd82.tar.gz |
Teach sysinstall(8) how to read boot managers out of /boot
instead of hardcoding them into the binary. This replaces
the work-around in usr.sbin/sysinstall/Makefile,v 1.121.
Suggested by: jhb
MFC in: 1 week
Diffstat (limited to 'release')
-rw-r--r-- | release/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/Makefile b/release/Makefile index 010d881..9df66cf 100644 --- a/release/Makefile +++ b/release/Makefile @@ -637,6 +637,9 @@ release.8: -test -f ${.CURDIR}/install.cfg && cp ${.CURDIR}/install.cfg ${RD}/mfsfd @mkdir -p ${RD}/mfsfd/boot @cp /boot/boot* ${RD}/mfsfd/boot +.if ${MACHINE} == "i386" + @cp /boot/mbr ${RD}/mfsfd/boot +.endif @cp /boot/loader.help ${RD}/mfsfd/boot @cd ${.CURDIR} && ${MAKE} createBOOTMFS .if exists(${.CURDIR}/${MACHINE}/drivers.conf) |