OpenBSD upgrade script.
- 2014-09-26 : Pull in the fixes for etc and xetc set removal.
- Upgrade to a release, or to snaps.
- Store config options in an rc file.
- Auto # cpu detection.
- Auto detection of arch type for arm: OMAP, IMX.
- Signing support with signify(1)
ftp https://raw.github.com/qbit/snap/master/snap
sudo install -m 755 snap /usr/local/bin
- -s force snap to use snapshots.
- -S do not check signatures.
- -c specify location of config file (default is ~/.snaprc)
- -e just extract sets in DST.
- -a use instead of what is 'arch' returns.
- -m use instead of what 'machine -s' returns.
- -v used to force snap to use (examples: snapshots or 5.3).
- -V used to force snap to use for sets (example: -V 5.3). Note: this will only apend 53 to sets, ie base53.tgz
- -r run sysmerge after extracting {x}sets.
- -x do not extract x11 sets.
- -M specify a mirror to use (example: " -M ftp3.usa.openbsd.org")
- -i interactive with colors
- -n force using bsd.mp as bsd
- -k only install kernels and exit
- -B do not backup current kernel
- -h help
To update to the latest snapshot using an explicit mirror region:
snap -s -M ftp3.usa.openbsd.org
To update to the lastest version of 5.3 without updating xsets:
snap -v 5.3 -V 5.3 -x -M ftp3.usa.openbsd.org
INTERACTIVE:true
DST:/tmp/upgrade
MERGE:true
MIRROR:ftp3.usa.openbsd.org
NO_X11:true