Date: Wed, 01 Jun 2011 16:44:33 -0400 From: Greg Larkin <glarkin@FreeBSD.org> To: Aleksandr Miroslav <alexmiroslav@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: src upgrading jails (no ezjail, no "service" jails) Message-ID: <4DE6A4B1.70105@FreeBSD.org> In-Reply-To: <BANLkTi=Aw5XbqNFPQpxkJmxJ1ENoQSue8Q@mail.gmail.com> References: <BANLkTikSu4HyM_EfMZHk6d4xkwxy3WjhGw@mail.gmail.com> <4DE63A9D.2090509@FreeBSD.org> <BANLkTi=Aw5XbqNFPQpxkJmxJ1ENoQSue8Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/1/11 3:36 PM, Aleksandr Miroslav wrote: > On Wed, Jun 1, 2011 at 9:11 AM, Greg Larkin <glarkin@freebsd.org> wrote: >>> I have 4 jails that are running 8.2-RELEASE that I would like to >>> upgrade. >>> >>> I did not create the jails using ezjails >>> I did not create the jails using the "template" method >> >> You can do this: >> cd /usr/src >> make installworld DESTDIR=<jaildir1> >> make distribution DESTDIR=<jaildir1> > > Would this not overwrite the data I already had in the existing jails? > > Also, presumably, I would have to run mergemaster in jail after doing > this, correct? > > Alex Hi Alex, Those commands will update the base system in the jail directory "jaildir1" with the latest bits that were previously compiled with "make buildworld". I don't believe they will disturb any other data in /usr/local, if that's what you are concerned about. Yes, you will also need to run mergemaster - I forgot about that step. You can run it outside of the jail in question if you use the "-D" option. I use ezjail here, and it will automate a lot of these steps for you. Is there a reason that you can't use it? Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3mpLEACgkQ0sRouByUApDi/gCeJ7Bdcs+R3bzKqL029M3nIZFV 1psAoKcSsfvhC+ydizhfH35G2gz8nOZA =cg9H -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DE6A4B1.70105>