Subject: Re: How to quarterly releases?
To: None <firstname.lastname@example.org>
From: Mark Kirby <email@example.com>
Date: 11/08/2005 12:36:20
On Tuesday 08 November 2005 12:19, D'Arcy J.M. Cain wrote:
> On Mon, 7 Nov 2005 23:17:10 -0500
> Ryan Cresawn <firstname.lastname@example.org> wrote:
> > I've been struggling with this problem for a while and I decided that
> > I should ask the list because someone here has surely solved this
> > before. The trouble is that I haven't found an intelligent way to
> > update from one quarterly release to the next on a production server.
> > A mail delivery host that I administer is running Solaris 8 with
> > pkgsrc-2005Q1. Obviously, I would like to update this to the latest
> > release. What is a good way to do this with minimal downtime?
> I recently changed the way I do package builds to reduce downtime and
> it seems to be working for me so let me take this opportunity to
> describe my arrangement for others' information as well as input to
> improve it.
I have recently started using a chroot to build packages.
Heres what i do.
1) i create a build directory, in my case /usr/sandbox
2) run pkgsrc/mk/bulk/mksandbox
I dont know if this script works on anything other than NetBSD, if not follow
D'arcys null mount instructions.
3)chroot /usr/sandbox and start building
For building i use wip/pkgmanager i then have a script which pkg_tarup's the
resulting packages as pkgmanager doesn't build binaries even though you have
pkg_depends=package set in mk.conf.
Then pkg_delete your old packages and install the new ones. Best to back up
1st especially your config files.
Hope this helps.
The NetBSD CVS Digest http://digest.coris.org.uk