Turning on phased update support in chroots in 24.10 (24.04?)
Dimitri John Ledkov
dimitri.ledkov at canonical.com
Thu Jul 13 10:09:02 UTC 2023
On Thu, 13 Jul 2023 at 10:27, Julian Andres Klode
<julian.klode at canonical.com> wrote:
>
> Hi folks,
>
> I just got reminded that when we wrote the initial phasing code
> we made it not apply in chroots to avoid breaking builders and
> things.
>
> I'd like to remove that check because it's a bit unexpected. To
> do that, I'll probably add an option to override the chroot check
> to apt soon for 23.10 and then we can drop the check in 24.10, or
> 24.04 even.
>
> When the initial code was written, phasing was implemented using
> policy and respected by the install command. Since then, phasing
> has moved to the upgrade calculation, using keep back, so there are
> significantly less concerns as installs no longer respect phasing,
> so image building is not affected anymore, but upgrading build chroots
> would be.
If proposed is enabled, and pinned up, can the phasing be ignored on
the updates pocket?
Or is there a pinning preference we can use, to again update all our
chroot code to ensure unphased upgrades are done?
And then patch mk-sbuild, lp-buildd, kteam-tools to add -proposed
pinning for lunar+.
Note launchpad builders chroots start with GA release, and depending
on the build configuration enable security/updates/proposed and do a
dist-upgrade.
--
okurrr,
Dimitri
More information about the ubuntu-devel
mailing list