Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2020 10:33:45 -0400
From:      Jerry <jerry@seibercom.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Update 11.3 > 11.4
Message-ID:  <20200619103345.7b6160e8@scorpio.seibercom.net>
In-Reply-To: <e7efcabd-8d5f-1fbf-3ddd-cee1a4422660@infracaninophile.co.uk>
References:  <20200617134146.00004ce8@seibercom.net> <e7efcabd-8d5f-1fbf-3ddd-cee1a4422660@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 19 Jun 2020 15:16:20 +0100, matthew@FreeBSD.org stated:
>On 17/06/2020 18:41, Jerry wrote:
>> Now, since I am primarily using poudriere, all I need to do is update
>> the poudriere jail and then update all the applications on the
>> system.  
>
>Not necessarily.  In general packages compiled in an 11.3-RELEASE jail 
>will work fine on an 11.4-RELEASE machine.  The important exception is 
>Kernel Loadable Modules, which need to be compiled on the same system 
>version as where they will be run.
>
>So: if you don't need to build any Kernel modules, then you don't need 
>to update your poudriere jail.  Since updating the poudriere jail will 
>force poudriere to rebuild _all_ of the packages from that jail (which 
>could take quite some time) not upgrading or delaying upgrading can be 
>quite a useful move.
>
>	Cheers,
>
>	Matthew

Thanks Matthew. I had to read the documentation on poudriere to force
it to update to a new version. It is not something I would remember off
the top of my head. I created a simple shell script that handles the
usual day-to-day operations like updating the [port tree, building
packages and installing them, etc. In any case, I rebuilt the system
overnight. I have four cores running, so it really doesn't take that
much time. With the exception of "web-gui" or something like that which
takes 5+ hours, the rest is quick. I have ccache installed and that
takes a lot of time off the build.

It might be useful if there was a notation in the "4.6 Building
Packages With Poudriere" section about the possibility that the
"/usr/local/etc/pkg/repos/*.conf" file might need to be modified after
updating to a new jail version.

In any case, I will remember your suggestion the next time I update.

Just my 2ยข.

-- 
Jerry





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200619103345.7b6160e8>