version 1.1, 2006/06/30 21:01:17 |
version 1.8, 2008/08/12 23:18:18 |
|
|
This is a collection of scripts to make upgrading OpenBSD easier. It |
This is a shell script to make upgrading OpenBSD easier. It supports |
supports upgrading to a new version as well as just upgrading to a newer |
upgrading to a new version as well as just upgrading to a newer version of the |
version of the same release. |
same release. |
|
|
Eventually I will steal and modify mergeslave to make updating /etc easier. |
Generally, just run update_openbsd. However, you probably want to create a |
http://www.xs4all.nl/~hanb/software/OpenBSD-binary-upgrade/ |
config file to set the mirror you would like to use (ftp or http) as well. |
|
See update_openbsdrc.example |
|
|
The files in the collection you should use are as follows: |
If you are moving between versions it will install the new kernel and ask you |
|
to reboot. After you reboot, you will need to run it again. |
|
|
get_sets |
If you are installing a release of the same version, it will install the |
This downloads the latest kernels and sets from mp3s.hewus.com. |
latest kernel, extract available sets, and then run sysmerge or attempt to run |
It uses installed_sets to only download the kernels and sets |
mergemaster and finally update installed packages. |
that are currently installed on the box you are running it on. |
|
|
|
install_kernel |
Also included is a copy of release.sh |
Copies the new kernels from the file set above. Should only be |
This is the OpenBSD - Release Building Shell Script |
run AFTER running get_sets. You should reboot after running |
from FenderQ.com - Internet Security Solutions |
this |
http://www.fenderq.com/release.sh |
|
|
install_sets |
Slightly modified to make it do what I want. |
Extracts the new sets to the correct directories. Most of them |
|
to /, but it extracts etc??.tgz to /tmp. You should upgrade |
|
/etc after you have run this, as well as upgrading packages with |
|
pkg_add -ui then reboot. |
|
|
|
installed_sets |
I run release.sh like this: |
This is a helper script that returns a list of the sets that are |
$ sudo release.sh update full-release |
currently installed on the box you are running it on. |
|
|
|
|
$RedRiver: README.TXT,v 1.7 2006/11/29 16:50:03 andrew Exp $ |
$RedRiver$ |
|