The DigitalPimp
Ben Pfountz |
Note: This will download the latest system sources, build them specific for your system, and install them on your system. Sometimes certain libraries are updated for because of security issues. If you are doing a cvsup because of security related issues, you should then go back and recompile all applications on your system not part of the base system. (for example, samba, apache, etc)
cp /usr/share/examples/cvsup/stable-supfile /usr/local/etc
edit /usr/local/etc/stable-supfile to set the default host: *default host=cvsup11.FreeBSD.org
if you dont want to follow -stable, but instead just want to follow a certain release (security patches only for example), adjust the following line in a manner similar to this: *default release=cvs tag=RELENG_4_7
To save time, run /stand/sysinstall and install all source from your version of the installation CD. This will save a lot of time downloading source code changes in the next step.
Start downloading the new source files cvsup /usr/local/etc/stable-supfile
create /etc/make.conf to have similar lines:
(you only need the IPFW2 line if you are running the 4.X branch and want IPFW2 functionality)
check /etc/group: there could be some new entries in /usr/src/etc/group that need to be in /etc/group before the upgrade will work.
Drop to single user mode: shutdown now
Compile the source: cd /usr/src script /var/tmp/mw.out make buildworld make -DO2 buildkernel KERNCONF=PIMPIN46 make -DO2 installkernel KERNCONF=PIMPIN46 ^D
Reboot to single user mode: shutdown -r now boot -s (hit spacebar during 10 second countdown, and type this) mount -a (after system is at a prompt) swapon -a
Install new system binaries: cd /usr/src make installworld
Update system startup scripts and config files: mergemaster -cv
|
|