Update 11.3 > 11.4

Jerry jerry at seibercom.net
Fri Jun 19 14:33:51 UTC 2020


On Fri, 19 Jun 2020 15:16:20 +0100, matthew at 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




More information about the freebsd-questions mailing list