Remove guards around overwriting loader.rc and menu.rc
There have been .local version of each for user modifications for some time This allows users to receive future updates to these files PR: 183765 Submitted by: Bertram Scharpf, Nikolai Lifanov (patch) Reviewed by: dteske, loos, eadler Approved by: bapt (mentor) MFC after: 1 month Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3176
This commit is contained in:
parent
e4b151050a
commit
2e43b5ede1
5
UPDATING
5
UPDATING
@ -31,6 +31,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11.x IS SLOW:
|
||||
disable the most expensive debugging functionality run
|
||||
"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
|
||||
|
||||
20150806:
|
||||
The menu.rc and loader.rc files will now be replaced during
|
||||
upgrades. Please migrate local changes to menu.rc.local and
|
||||
loader.rc.local instead.
|
||||
|
||||
20150805:
|
||||
GNU Binutils versions of addr2line, c++filt, nm, readelf, size,
|
||||
strings and strip have been removed. The src.conf(5) knob
|
||||
|
@ -1,6 +1,9 @@
|
||||
\ Loader.rc
|
||||
\ $FreeBSD$
|
||||
\
|
||||
\ You should not edit this file! Put any overrides in loader.rc.local
|
||||
\ instead as this file can be replaced during system updates.
|
||||
\
|
||||
\ Includes additional commands
|
||||
include /boot/loader.4th
|
||||
try-include /boot/loader.rc.local
|
||||
|
@ -1,6 +1,9 @@
|
||||
\ Menu.rc
|
||||
\ $FreeBSD$
|
||||
\
|
||||
\ You should not edit this file! Put any overrides in menu.rc.local
|
||||
\ instead as this file can be replaced during system updates.
|
||||
\
|
||||
\ Load required Forth modules
|
||||
include /boot/version.4th
|
||||
include /boot/brand.4th
|
||||
|
@ -110,12 +110,7 @@ FILESMODE_${LOADER}= ${BINMODE} -b
|
||||
.include "${.CURDIR}/../../forth/Makefile.inc"
|
||||
FILES+= pcibios.4th
|
||||
|
||||
.if !exists(${DESTDIR}/boot/loader.rc)
|
||||
FILES+= loader.rc
|
||||
.endif
|
||||
.if !exists(${DESTDIR}/boot/menu.rc)
|
||||
FILES+= menu.rc
|
||||
.endif
|
||||
FILES+= loader.rc menu.rc
|
||||
.endif
|
||||
|
||||
# XXX crt0.o needs to be first for pxeboot(8) to work
|
||||
|
@ -125,13 +125,7 @@ loader.help: help.common help.mips
|
||||
.PATH: ${.CURDIR}/../../../forth
|
||||
.include "${.CURDIR}/../../../forth/Makefile.inc"
|
||||
|
||||
.if !exists(${DESTDIR}/boot/loader.rc)
|
||||
FILES+= loader.rc
|
||||
.endif
|
||||
|
||||
.if !exists(${DESTDIR}/boot/menu.rc)
|
||||
FILES+= menu.rc
|
||||
.endif
|
||||
FILES+= loader.rc menu.rc
|
||||
|
||||
.if defined(LOADER_USB_SUPPORT)
|
||||
# Do garbage collection
|
||||
|
@ -90,12 +90,7 @@ FILESMODE_${LOADER}= ${BINMODE} -b
|
||||
.PATH: ${.CURDIR}/../../forth
|
||||
.include "${.CURDIR}/../../forth/Makefile.inc"
|
||||
|
||||
.if !exists(${DESTDIR}/boot/loader.rc)
|
||||
FILES+= ${.CURDIR}/../../i386/loader/loader.rc
|
||||
.endif
|
||||
.if !exists(${DESTDIR}/boot/menu.rc)
|
||||
FILES+= menu.rc
|
||||
.endif
|
||||
FILES+= ${.CURDIR}/../../i386/loader/loader.rc menu.rc
|
||||
|
||||
# XXX crt0.o needs to be first for pxeboot(8) to work
|
||||
OBJS= ${BTXCRT}
|
||||
|
@ -117,12 +117,6 @@ loader.help: help.common help.kboot ${.CURDIR}/../../fdt/help.fdt
|
||||
.PATH: ${.CURDIR}/../../forth
|
||||
.include "${.CURDIR}/../../forth/Makefile.inc"
|
||||
|
||||
.if !exists(${DESTDIR}/boot/loader.rc)
|
||||
FILES+= loader.rc
|
||||
.endif
|
||||
|
||||
.if !exists(${DESTDIR}/boot/menu.rc)
|
||||
FILES+= menu.rc
|
||||
.endif
|
||||
FILES+= loader.rc menu.rc
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -112,12 +112,6 @@ loader.help: help.common help.ofw ${.CURDIR}/../../fdt/help.fdt
|
||||
.PATH: ${.CURDIR}/../../forth
|
||||
.include "${.CURDIR}/../../forth/Makefile.inc"
|
||||
|
||||
.if !exists(${DESTDIR}/boot/loader.rc)
|
||||
FILES+= loader.rc
|
||||
.endif
|
||||
|
||||
.if !exists(${DESTDIR}/boot/menu.rc)
|
||||
FILES+= menu.rc
|
||||
.endif
|
||||
FILES+= loader.rc menu.rc
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -114,12 +114,6 @@ loader.help: help.common help.ps3 ${.CURDIR}/../../fdt/help.fdt
|
||||
.PATH: ${.CURDIR}/../../forth
|
||||
.include "${.CURDIR}/../../forth/Makefile.inc"
|
||||
|
||||
.if !exists(${DESTDIR}/boot/loader.rc)
|
||||
FILES+= loader.rc
|
||||
.endif
|
||||
|
||||
.if !exists(${DESTDIR}/boot/menu.rc)
|
||||
FILES+= menu.rc
|
||||
.endif
|
||||
FILES+= loader.rc menu.rc
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -99,12 +99,6 @@ loader.help: help.common help.sparc64
|
||||
.PATH: ${.CURDIR}/../../forth
|
||||
.include "${.CURDIR}/../../forth/Makefile.inc"
|
||||
|
||||
.if !exists(${DESTDIR}/boot/loader.rc)
|
||||
FILES+= loader.rc
|
||||
.endif
|
||||
|
||||
.if !exists(${DESTDIR}/boot/menu.rc)
|
||||
FILES+= menu.rc
|
||||
.endif
|
||||
FILES+= loader.rc menu.rc
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user