Gleb Popov <[email protected]> writes:
> Dag-Erling Smørgrav <[email protected]> writes:
> > you're not supposed to upgrade a poudriere jail from one ABI to
> > another, you're supposed to create a new jail with the new ABI.
> This is the first time I hear about that. Is this documented
> somewhere? It feels wrong, because "poudriere jail" has flags to
> perform jail upgrades and I've been using it for a long time.

The name of the jail is also the name of the repository.  Reusing the
same jail for a different ABI means you either end up with a mixed
repository, which isn't supported, or your clients must all be upgraded
at the same time as the jail, which is impractical.

Besides, creating a new jail is much faster than upgrading an existing
one (though pkgbase may change that).

By the way, poudriere will normally delete all packages when it detects
that the jail has been upgraded, but it can only delete packages that it
knows about, meaning the packages you ask it to build and all their
dependencies.  Since Bob is using poudriere to build just one or two
packages at a time instead of giving it a list of all the packages he
cares about, a lot of packages that should have been deleted weren't.

DES
-- 
Dag-Erling Smørgrav - [email protected]

Reply via email to