Annotation of openbsd/update_openbsd/README.TXT, Revision 1.7
1.1 andrew 1: This is a collection of scripts to make upgrading OpenBSD easier. It
2: supports upgrading to a new version as well as just upgrading to a newer
3: version of the same release.
4:
1.3 andrew 5: Now, you can just use "install". If you are moving between versions it
1.5 andrew 6: will install the new kernel. You then need to reboot, and run it again
7: and it will run mergeslave after extracting available sets. This will
8: mean you are running it on the same version kernel as the available sets
9: and it will install a new kernel (just in case it needs to be updated)
10: and then extract the available sets.
1.3 andrew 11:
12: The proper way use these scripts manually would be to do the following:
1.2 andrew 13: get_sets
14: install_kernel
15: reboot
16: install_sets
1.7 ! andrew 17: cd /dev && ./MAKEDEV all
! 18: upgrade /etc.
! 19: mergeslave should work
! 20: but you should still read through the upgrade faq
1.6 andrew 21: pkg_add -ui -F update -F updatedepends
1.3 andrew 22: reboot
23:
1.5 andrew 24: The files in the collection are as follows:
1.1 andrew 25:
1.5 andrew 26: install
27: This calls get_sets if there are no sets, then call
28: install_kernel, then, if the version of the kernel we are booted
29: off is the same as the sets, it installs the sets, and if it was
30: an upgrade between versions (there was an etcXX.tgz from the
31: previous version downloaded) install mergeslave, then it will
32: tell you to reboot.
1.1 andrew 33:
34: get_sets
35: This downloads the latest kernels and sets from mp3s.hewus.com.
36: It uses installed_sets to only download the kernels and sets
37: that are currently installed on the box you are running it on.
38:
39: install_kernel
40: Copies the new kernels from the file set above. Should only be
41: run AFTER running get_sets. You should reboot after running
42: this
43:
44: install_sets
45: Extracts the new sets to the correct directories. Most of them
46: to /, but it extracts etc??.tgz to /tmp. You should upgrade
47: /etc after you have run this, as well as upgrading packages with
48: pkg_add -ui then reboot.
49:
1.2 andrew 50: mergeslave
51: This is a modified version of mergeslave. You should only use
52: it if upgrading between versions, not -stable upgrades.
53: http://www.xs4all.nl/~hanb/software/OpenBSD-binary-upgrade/
54:
1.1 andrew 55: installed_sets
56: This is a helper script that returns a list of the sets that are
57: currently installed on the box you are running it on.
58:
1.4 andrew 59: release.sh
60: This is the OpenBSD - Release Building Shell Script
61: from FenderQ.com - Internet Security Solutions
62: http://www.fenderq.com/release.sh
1.1 andrew 63:
1.4 andrew 64: Slightly modified to make it do what I want.
65:
66: I run it like this:
67: $ sudo release.sh clean update system release clean
68:
1.7 ! andrew 69: $RedRiver: README.TXT,v 1.6 2006/11/29 16:45:33 andrew Exp $
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>