mirror of
https://github.com/opnsense/src.git
synced 2026-02-25 11:00:15 -05:00
Preserve the previous loader as loader.old.
Note no matching commit for the Alpha, as the alpha boot0 stage does not have the ability to prompt for user input. PR: kern/9406 Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
This commit is contained in:
parent
096d55fc13
commit
ba536e2ae8
1 changed files with 4 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile,v 1.25 1999/01/09 20:14:46 msmith Exp $
|
||||
# $Id: Makefile,v 1.26 1999/01/10 20:20:27 msmith Exp $
|
||||
|
||||
BASE= loader
|
||||
PROG= ${BASE}
|
||||
|
|
@ -82,6 +82,9 @@ ${BASE}.help: help.common help.i386
|
|||
perl ${.CURDIR}/../../common/merge_help.pl ${.ALLSRC} > ${.TARGET}
|
||||
|
||||
beforeinstall:
|
||||
.if exists(${DESTDIR}/boot/loader)
|
||||
mv ${DESTDIR}/boot/loader ${DESTDIR}/boot/loader.old
|
||||
.endif
|
||||
.if exists(${.OBJDIR}/loader.help)
|
||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
${.OBJDIR}/${BASE}.help ${DESTDIR}/boot
|
||||
|
|
|
|||
Loading…
Reference in a new issue