From 881218adc141bca86c808903d675a9af7791c92d Mon Sep 17 00:00:00 2001 From: Warren Block Date: Fri, 12 May 2017 20:33:27 +0000 Subject: [PATCH] Recommit this rewrite, recreating all the changes that were wiped out by the version control system. --- .../books/handbook/cutting-edge/chapter.xml | 66 +++++-------------- 1 file changed, 17 insertions(+), 49 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/cutting-edge/chapter.xml b/en_US.ISO8859-1/books/handbook/cutting-edge/chapter.xml index 7d65e9509c..5ca177eee6 100644 --- a/en_US.ISO8859-1/books/handbook/cutting-edge/chapter.xml +++ b/en_US.ISO8859-1/books/handbook/cutting-edge/chapter.xml @@ -246,7 +246,7 @@ MergeChanges /etc/ /var/named/etc/ /boot/device.hints Merges are either accepted, open an editor, or cause freebsd-update to abort. When in doubt, backup /etc and just accept the merges. - See for more information about + See &man.mergemaster.8; for more information about mergemaster. # Directory in which to store downloaded updates and temporary @@ -1077,7 +1077,7 @@ before running "/usr/sbin/freebsd-update install" to take advantage of specific hardware. Parts of the base system can be built with non-default settings, or left out entirely where they are not needed or desired. The build - process takes longer to update a system than binary updates, but + process takes longer to update a system than just installing binary updates, but allows complete customization to produce a tailored version of &os;. @@ -1089,23 +1089,6 @@ before running "/usr/sbin/freebsd-update install" the process in more detail. - - Preparing - - The very first time a computer is updated from source, - run - - &prompt.root; etcupdate extract - - This creates a checkpoint for later comparison and - merging of system settings. - - This step is only done once on a particular - computer. &man.etcupdate.8; does not need any - additional updates after the first - extract. - - Update and Build @@ -1115,7 +1098,7 @@ before running "/usr/sbin/freebsd-update install" &prompt.root; make -j4 buildworld &prompt.root; make -j4 kernel &prompt.root; make installworld -&prompt.root; etcupdate +&prompt.root; mergemaster -Ui &prompt.root; shutdown -r now @@ -1152,7 +1135,7 @@ before running "/usr/sbin/freebsd-update install" Install the world. - + Update and merge configuration files in /etc/. @@ -1169,12 +1152,6 @@ before running "/usr/sbin/freebsd-update install" Preparing for a Source Update - If this is the first time that a source update has - ever been done on this computer, run - etcupdate extract to create a record of - system settings for later update and merging. This step only - needs to be done once on a particular computer. - Read /usr/src/UPDATING. Any manual steps that must be performed before or after an update are described in this file. @@ -1324,12 +1301,10 @@ Working Copy Root Path: /usr/src previously-compiled code in the temporary object directory, /usr/obj. This can speed up later builds by avoiding recompiling code that has not changed. - To force a clean rebuild of everything, remove - /usr/obj before starting a build. - This is roughly equivalent to performing a - make clean, but much faster: + To force a clean rebuild of everything, use + cleanworld before starting a build: - &prompt.root; rm -rf /usr/obj/* + &prompt.root; make cleanworld @@ -1354,14 +1329,6 @@ Working Copy Root Path: /usr/src - - go-fast - - Go-fast: Describe other go-fast options like NO_CLEAN - here. Preferably avoid having different sections for - different versions of &os;. - - Building Only the Kernel @@ -1454,22 +1421,23 @@ Working Copy Root Path: /usr/src libraries are located and removed, then the system is restarted. - + Merging Configuration Files with - <application>etcupdate</application> + &man.mergemaster.8; - etcupdate provides an easy + &man.mergemaster.8; provides an easy way to merge changes that have been made to system configuration files with new versions of those files. - etcupdate - + With , &man.mergemaster.8; + automatically updates files that have not been user-modified + and installs new files that are not already present: - - Merging Configuration Files with - <application>mergemaster</application> + &prompt.root; mergemaster -Ui - mergemaster -Ui + If a file must be manually merged, an interactive + display allows the user to choose which portions of the files are + kept. See &man.mergemaster.8; for more information.