Annotation of openbsd/update_openbsd/README.TXT, Revision 1.6
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
17: upgrade /etc. I still need to test mergeslave to see how that works.
1.6 ! andrew 18: pkg_add -ui -F update -F updatedepends
1.3 andrew 19: reboot
20:
1.5 andrew 21: The files in the collection are as follows:
1.1 andrew 22:
1.5 andrew 23: install
24: This calls get_sets if there are no sets, then call
25: install_kernel, then, if the version of the kernel we are booted
26: off is the same as the sets, it installs the sets, and if it was
27: an upgrade between versions (there was an etcXX.tgz from the
28: previous version downloaded) install mergeslave, then it will
29: tell you to reboot.
1.1 andrew 30:
31: get_sets
32: This downloads the latest kernels and sets from mp3s.hewus.com.
33: It uses installed_sets to only download the kernels and sets
34: that are currently installed on the box you are running it on.
35:
36: install_kernel
37: Copies the new kernels from the file set above. Should only be
38: run AFTER running get_sets. You should reboot after running
39: this
40:
41: install_sets
42: Extracts the new sets to the correct directories. Most of them
43: to /, but it extracts etc??.tgz to /tmp. You should upgrade
44: /etc after you have run this, as well as upgrading packages with
45: pkg_add -ui then reboot.
46:
1.2 andrew 47: mergeslave
48: This is a modified version of mergeslave. You should only use
49: it if upgrading between versions, not -stable upgrades.
50: http://www.xs4all.nl/~hanb/software/OpenBSD-binary-upgrade/
51:
1.1 andrew 52: installed_sets
53: This is a helper script that returns a list of the sets that are
54: currently installed on the box you are running it on.
55:
1.4 andrew 56: release.sh
57: This is the OpenBSD - Release Building Shell Script
58: from FenderQ.com - Internet Security Solutions
59: http://www.fenderq.com/release.sh
1.1 andrew 60:
1.4 andrew 61: Slightly modified to make it do what I want.
62:
63: I run it like this:
64: $ sudo release.sh clean update system release clean
65:
1.6 ! andrew 66: $RedRiver: README.TXT,v 1.5 2006/10/31 23:13:59 andrew Exp $
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>