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