| Summary: | /boot/{menu,loader}.rc do not get updated by "make installkernel" | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Bertram Scharpf <software> | ||||||
| Component: | kern | Assignee: | Allan Jude <allanjude> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Only Me | CC: | allanjude, andrey, lifanov | ||||||
| Priority: | Normal | ||||||||
| Version: | Unspecified | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
|
Description
Bertram Scharpf
2013-11-07 22:20:00 UTC
Another possibility would be to include the files into the "make distribution" procedure. Reminder: Not a single reaction in more than two weeks. -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de Reminder: Not a single reaction in more than 5 weeks. On 12/14/2013 18:40, Bertram Scharpf wrote:
> The following reply was made to PR kern/183765; it has been noted by GNATS.
>
> From: Bertram Scharpf <lists@bertram-scharpf.de>
> To: bug-followup@FreeBSD.org
> Cc:
> Subject: Re: kern/183765: /boot/{menu,loader}.rc do not get updated by "make
> installkernel"
> Date: Sun, 15 Dec 2013 00:34:07 +0100
>
> Reminder: Not a single reaction in more than 5 weeks.
make installkernel only installs the kernel and kernel modules and
nothing else. To me, it lives up to its name since /boot/loader.rc is
not a kernel. make installworld installs the other files under /boot,
but doesn't update boot sector code. What is the problem that is being
encountered? Is make installworld not installing the files you expect?
(Step 6). Or is the reboot failing after step 4 because
/boot/{menu,loader}.rc are not updated?
Created attachment 155127 [details]
remove menu.rc and loader.rc install guards
Since r258270 try-include's menu.rc.local and loader.rc.local, the install guards can go away. This will make installworld experience match that of freebsd-update. Update r285736 to r285816, menu.rc not auto update I opened Differential D3176 about it: https://reviews.freebsd.org/D3176 Created attachment 159122 [details]
remove menu.rc and loader.rc install guards
reroll patch
This blocks my D3167 as well A commit references this bug: Author: allanjude Date: Thu Aug 6 16:07:32 UTC 2015 New revision: 286368 URL: https://svnweb.freebsd.org/changeset/base/286368 Log: 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 Changes: head/UPDATING head/sys/boot/forth/loader.rc head/sys/boot/forth/menu.rc head/sys/boot/i386/loader/Makefile head/sys/boot/mips/beri/loader/Makefile head/sys/boot/pc98/loader/Makefile head/sys/boot/powerpc/kboot/Makefile head/sys/boot/powerpc/ofw/Makefile head/sys/boot/powerpc/ps3/Makefile head/sys/boot/sparc64/loader/Makefile A commit references this bug: Author: dteske Date: Thu Jan 7 01:50:51 UTC 2016 New revision: 293294 URL: https://svnweb.freebsd.org/changeset/base/293294 Log: MFC r286368: 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 Differential Revision: https://reviews.freebsd.org/D3176 Submitted by: Bertram Scharpf, Nikolai Lifanov (patch) Reviewed by: dteske, loos, eadler Approved by: bapt (mentor) Relnotes: yes Sponsored by: ScaleEngine Inc. Changes: _U stable/10/ stable/10/UPDATING stable/10/sys/boot/forth/loader.rc stable/10/sys/boot/forth/menu.rc stable/10/sys/boot/i386/loader/Makefile stable/10/sys/boot/pc98/loader/Makefile stable/10/sys/boot/powerpc/ofw/Makefile stable/10/sys/boot/powerpc/ps3/Makefile stable/10/sys/boot/sparc64/loader/Makefile |