Annotation of openbsd/update_openbsd/README.TXT, Revision 1.11
1.8 andrew 1: This is a shell script to make upgrading OpenBSD easier. It supports
2: upgrading to a new version as well as just upgrading to a newer version of the
1.10 andrew 3: same release. I use it to easily update between snapshots.
1.8 andrew 4:
1.10 andrew 5: Generally, you just need to run update_openbsd. However, you probably want to
6: create a config file to set the mirror you would like to use (ftp or http) as
7: well. See update_openbsdrc.example
8:
9: If you do not set a MIRROR in update_openbsdrc or exported in your environment,
10: you will need to have the sets available in another way. By default it looks
11: for them in a "version" directory, for example if you are running OpenBSD 5.4,
12: it will look for a 5.5, then a 5.4 directory relative to the current directory.
13: You can also set RELEASEDIR to point to the path that contains the sets, again
14: either in update_openbsdrc or exported into the current environment.
15:
16: The script will initially download the new sets if you don't have them,
17: then extract them and install new kernels.
18:
19: If you are moving between kernels after installing sets and the new kernel and
20: it will ask you to reboot. After you reboot, you will need to run
21: update_openbsd again.
22:
23: If running with the same boot kernel as the update, often on the second run, it
24: will run sysmerge and finally update installed packages.
1.1 andrew 25:
1.8 andrew 26: Also included is a copy of release.sh
1.4 andrew 27: This is the OpenBSD - Release Building Shell Script
28: from FenderQ.com - Internet Security Solutions
29: http://www.fenderq.com/release.sh
1.1 andrew 30:
1.4 andrew 31: Slightly modified to make it do what I want.
32:
1.8 andrew 33: I run release.sh like this:
1.11 ! andrew 34: $ doas release.sh update full-release
1.4 andrew 35:
1.11 ! andrew 36: $AFresh1: README.TXT,v 1.10 2014/02/01 18:39:06 andrew Exp $
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>