2002-Jul-31
Building /usr/src to update 1.5.2 to 1.5.3. This is on a live system; I don't want to overwrite /etc, /var and other custom files in use. The /usr/src/Makefile says "build" target builds a full release. This is unclear, because it doesn't really make devices or update /etc. That is done by "distribution" target in /usr/src/etc/Makefile (and only works when DESTDIR is set you don't accidently overwrite / unless you explicitely set it.)The "make obj" took 1m33s. (No /etc/mk.conf file.) Set DESTDIR to /usr/local/netbsd-1.5.3 (just in case and to compare). Doing "make build". Started at 10:04 and the build finished at 11:41.
Also updating 1.5.1_BETA to 1.5.3 via tar sets on other system. (Already updated kernel from source on 23/Jul/2002.) Fetched comp.tgz, etc.tgz, man.tgz, misc.tgz, text.tgz, and base.tgz from two different California FTP mirrors. (The simultaneous downloads over 128Kb connection were only averaging around 4.2 kB/s and 1.5kB/s.) Unextracted (all except etc.tgz) like:
cd / pax -zrvpe -f /usr/tmp/text.tgz(To extract man.tgz took 5 minutes and comp.tgz took 8 minutes, for example.)
Then installed etcupdate-20020321 package. Extracted etc.tgz to tmp location and used "etcupdate -v -b /usr/tmp/tmp-etc". This took about 15 or more minutes. Warning of MAKEDEV not found scrolls right by; it should stop and make user acknowledge this. Installing messages scroll by too fast and are overwritten when shows diff through pager. It probably should have option to automatically install missing files. I never used sdiff before (the merge) and it wasn't document; the "?" helped in sdiff though. Also noticed that the etc.tgz set didn't have /var/cron/tabs/root and other files so they weren't handled by etcupdate.
Back to updating from source (on other system). Under /usr/src/etc, did "make distribution" (DESTDIR was set to /usr/local/netbsd-1.5.3). It showed a lot of lines like:
includes ===> usr.sbin/wsfontload includes ===> usr.sbin/ypbindIt took 14 minutes.