| Summary: | Conflicting information on mergemaster -p | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Brian Candler <B.Candler> |
| Component: | Books & Articles | Assignee: | Giorgos Keramidas <keramida> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Brian Candler
2004-11-22 10:20:22 UTC
On 2004-11-22 10:18, Brian Candler <b.candler@pobox.com> wrote: > > Make it clear where mergemaster -p should be done in the entire process: > is it ever required before buildworld, or only before installworld? AFAIK, mergemaster -p is only needed before installworld. The makefile `magic' of the build process is smart enough to handle the buildworld stage without mergemaster's help. I could be wrong, but I have been running mergemaster -p only before installworld, while in single-user mode, for years now. I don't recall any problems with that. Responsible Changed From-To: freebsd-doc->keramida I'll handle this. State Changed From-To: open->closed I've just committed a couple of short paragraphs stating that mergemaster may have to be run twice. Once before buildworld and once after installworld. Hopefully, this will reduce the potential for confusion regarding the -p option of mergemaster. The changes should show up online within the next 24 hours. Thanks for submitting this problem report. On Thu, Dec 23, 2004 at 06:02:39PM +0000, Giorgos Keramidas wrote:
> Synopsis: Conflicting information on mergemaster -p
>
> State-Changed-From-To: open->closed
> State-Changed-By: keramida
> State-Changed-When: Thu Dec 23 17:59:19 GMT 2004
> State-Changed-Why:
> I've just committed a couple of short paragraphs stating that mergemaster may
> have to be run twice. Once before buildworld and once after installworld.
> Hopefully, this will reduce the potential for confusion regarding the -p
> option of mergemaster.
>
> The changes should show up online within the next 24 hours. Thanks for
> submitting this problem report.
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=74231
Thank you. However I think the inconsistency remains in the webpage between
the 'canonical way' and then the step-by-step instructions; this is because
section 19.4.1 says to run
# make buildworld
# make buildkernel
# make installkernel
# reboot
boot -s
# mergemaster -p
# make installworld
# mergemaster
# reboot
(note: mergemaster -p before make installworld), whereas sections
19.4.4-19.4.14 say that you should run
# mergemaster -p # 19.4.4
# make buildworld # 19.4.7.2
# make buildkernel KERNCONF=MYKERNEL # 19.4.8
# make installkernel KERNCONF=MYKERNEL
# reboot # 19.4.9
boot -s
# make installworld # 19.4.10
# mergemaster # 19.4.11
# shutdown -r now # 19.4.14
(mergemaster -p before make buildworld).
Perhaps the simplest solution here is that paragraph 19.4.4 should be moved
so that it is between 19.4.9 and 19.4.10, so that the sequence is consistent
with that given in 19.4.1, and also with /usr/src/UPDATING.
Regards,
Brian.
|