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