Author: John Daniels
Date: 28-05-00 12:23
The handbook says that sync-ing to up-to-date sources (-STABLE or -CURRENT) should be done as follows (simplified, of course):
3. check /etc/make.conf and /etc/group
4. drop to single-user mode
5. remove /usr/obj
6. make world (or make buildworld and make
7. update /etc, /dev, (and optionally
8. compile and install a new kernel
9. reboot (with fastboot)
Your article on upgrading to stable lists this order (truncated):
2.make update - updates your source files
3.make build - does a build world
4.make install - installs the results of
5.make kernel - builds and installs a new
6.make merge - merges the results
NOTE:"make merge" just runs mergemaster which
is a utility for doing the update to /etc.
1) does mergemaster update /dev also?
2) when mergemaster asks (just before it finishes) if /usr/tmp should be deleted - should I respond "yes"? - what if there are still files to review by hand?
3) should merge master be done *before* a new kernel is built and installed (as per the handbook) or *after* (as per your script)?
4) when should the "make clean" from your script be done? After all, the handbook shows "cleaning" /usr/obj before the make buildworld. I believe there is a discussion in the handbook about keeping the object files around (it seems to recommend to do so, and to only delete them before the "make buildworld")
Did you look at the handbook at all before you did your upgrade? Most of us mortals (esp. newbies) have to/generally do so. And I wouldn't be surprised if you get more emails questioning the differences in your procedure and the handbook.
The handbook has been updated in the last couple of months, although the make world section still doesn't talk about mergemaster. Doug Barton has informed me that he is working on updating the make world documentation.