Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2018 12:49:07 -0700
From:      Adam Weinberger <adamw@adamw.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Updating poudriere jail
Message-ID:  <CAP7rwcikxQbn4Xzkc-ZKJ16hiTkrfu3ZgvzRFg7C_JriGOG=zQ@mail.gmail.com>
In-Reply-To: <SN1PR20MB21098E78F501A457DD0A2E1680A00@SN1PR20MB2109.namprd20.prod.outlook.com>
References:  <SN1PR20MB21098E78F501A457DD0A2E1680A00@SN1PR20MB2109.namprd20.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 13, 2018 at 12:43 PM Carmel NY <carmel_ny@outlook.com> wrote:
>
> I am using FreeBSD 11.2-RELEASE-p6. If I use freebsd-update to install the
> new version 12, what do I have to do to update the poudriere jail? Plus, if I
> do update, will I have to rebuild all of my installed applications?

It's not really possible to cleanly upgrade a poudriere jail to a new
major. You'll need to delete the jail and recreate it.
  poudriere jail -d -j $jailname
  poudriere jail -c -j $jailname -v 12.0-RELEASE

If the jail name stays the same, it will retain all the options,
make.conf, and poudriere.conf. If the jail name has changed, you'll
most likely want to move those things over:
  cd /usr/local/etc/poudriere.d
  mv oldjailname-{make.conf,poudriere.conf,options,etc....} newjailname-...

You will, unfortunately, need to rebuild everything. After rebuilding,
be sure to run "pkg upgrade -f" BEFORE the final "freebsd-update
install"!

# Adam



-- 
Adam Weinberger
adamw@adamw.org
https://www.adamw.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP7rwcikxQbn4Xzkc-ZKJ16hiTkrfu3ZgvzRFg7C_JriGOG=zQ>