02
2016-10-19
dev1
Frédéric Galusik
03
2016-10-19
dev1
%%mtime(%m/%d/%Y)
05
2016-10-19
dev1
%!target: man
06
2016-10-19
dev1
%!encoding: utf-8
07
2016-10-19
dev1
%!outfile: snaps.1
10
2016-10-19
dev1
= NOM =[nom]
12
2016-10-19
dev1
SNAPS - An OpenBSD admin utility to upgrade to last -current base snapshot.
15
2016-10-19
dev1
= SYNOPSIS =[synopsis]
17
2016-10-19
dev1
**snaps** [//options//]
20
2016-10-19
dev1
= DESCRIPTION =[description]
22
2016-10-19
dev1
**snaps** will help you to download the needed **bsd.rd**, check it and move it to
23
2016-10-19
dev1
the right place before rebooting. A backup of your last bsd.rd is made. All
24
2016-10-19
dev1
steps are verbose. It can be run with only the base system. Nevertheless if you
25
2016-10-19
dev1
install //curl// from packages, it will check your //$MIRROR// build date of
26
2016-10-19
dev1
base and packages. You will be able to decide if you want to do the update right now
27
2016-10-19
dev1
or wait for the synchronicity of the two directories.
30
2016-10-19
dev1
= GENERAL OPTIONS =[general-options]
33
2016-10-19
dev1
Print help and exit. It also print the content of the
34
2017-04-17
dev1
//$MIRROR// variable based upon ///etc/installurl// for a quick look.
37
2016-10-19
dev1
Fetch and check (SHA256 and signify) bsd.rd from //$MIRROR// (no need
38
2016-10-19
dev1
to be root for that one).
41
2016-10-19
dev1
Fetch, check bsd.rd from //$MIRROR// then, move it to the right place,
42
2016-10-19
dev1
backup your last bsd.rd, print some reminders and reboot.
45
2016-10-19
dev1
Update your //-current// port tree.
48
2016-10-19
dev1
List date and download places of the 3 last //-G// from
49
2016-10-19
dev1
/var/log/snaps.log.
52
2016-10-19
dev1
Upgrade snaps to the last release.
55
2016-10-19
dev1
= COMMAND LINE USAGE =[command-line-usage]
57
2016-10-19
dev1
Here are some usage examples:
59
2017-04-17
dev1
: **MIRROR=http://another/openbsd/mirror/pub/OpenBSD doas snaps -G**
60
2017-04-17
dev1
Bypass your ///etc/installurl// file and manually setup the //$MIRROR//
61
2017-04-17
dev1
variable. Note that you have to indicate the root of the //$MIRROR// followed
62
2017-04-17
dev1
by **/pub/OpenBSD** (no **/** at the end).
63
2016-10-19
dev1
This one have to follow the OpenBSD directory layout. Moreover, in order to play
64
2016-10-19
dev1
with //MIRROR//, **doas** have to be setup with the //keepenv// option.
66
2017-08-25
dev1
: **RL=62 doas snaps -G**
67
2017-08-25
dev1
Bypass the default signify key which used.
68
2017-08-25
dev1
Usefull when beta is coming because the release number is setup for the next release/stable.
71
2016-10-19
dev1
= WEBSITE =[website]
73
2016-10-19
dev1
https://framagit.org/fredg/snaps
76
2016-10-19
dev1
= AUTHOR =[author]
78
2016-10-19
dev1
Frédéric Galusik
81
2016-10-19
dev1
= SEE ALSO =[see-also]
83
2016-10-19
dev1
**sysmerge**(8), **pkg_add**(1)