On Sun, Jan 31, 2016 at 02:38:59PM +0000, Mark Carroll wrote: > On 31 Jan 2016, Mark Carroll wrote: > > > I thought that one option might be to update my sources to the latest > > OPENBSD_5_8 revision, build and install the update on one, then make the > > release on it and copy and unpack it to the other machines so that they > > could then have the patches too. > > I should have of course added the note that these machines are all > already running an earlier version of 5.8 stable.
-stable is merely the published errata, and occasionally patches which do not rate receiving errata publication. Since these do not change the system, you can indeed update simply by copying the kernel and extracting the filesets. The folowing "update" script is what I use to update systems which are already at an older -stable. I don't use this when transiting releases; for that I use the bsd.rd upgrade script. I've replaced my local -stable build machine name with /path/to in this example. The servers that use this are uniprocessors, so I don't need to worry about the bsd.sp kernel, the bsd kernel mentioned below is GENERIC, not GENERIC.MP. #!/bin/sh rel=58 cd / echo backing up kernels... cp -p bsd bsd.rd bkupboot/ ftp http://path/to/stable/bsd ftp http://path/to/stable/bsd.rd ftp -mo - http://path/to/stable/base$rel.tgz | tar xzphf - ftp -mo - http://path/to/stable/comp$rel.tgz | tar xzphf - ftp -mo - http://path/to/stable/game$rel.tgz | tar xzphf - ftp -mo - http://path/to/stable/man$rel.tgz | tar xzphf -