Kevin Fenzi venit, vidit, dixit 2023-08-10 21:21:59:
On Thu, Aug 10, 2023 at 09:58:30AM -0700, Adam Williamson wrote:
> On Thu, 2023-08-10 at 08:56 -0700, Adam Williamson wrote:
> > On Thu, 2023-08-10 at 10:58 +0200, Pavel Raiskup wrote:
> > > Hello maintainers!
> > >
> > > Let me announce a new release of Mock v5.0 (the chroot build environment
> > > manager for building RPMs).
> > >
> > > This release release brings lots of changes, though the one that I'd
> > > like to underline is that we turned --use-bootstrap-image ON by default.
> > > This effectively means that Mock uses Podman to pull the bootstrap image
> > > from image registries (instead of installing it from scratch with `dnf
> > > --installroot`). Thus Podman is now in `Recommends:`, not just
> > > `Suggests:`. Should you have any issues, you can temporarily revert this
> > > change with `--no-bootstrap-image` (--scrub=all first!). Alternatively
> > > set `config_opts["use_bootstrap_image"] = False` in
configuration.
> >
> > Unfortunately this seems to be broken on Rawhide, whether you use the
> > 'fedora-40' or 'fedora-rawhide' name:
>
> Update: nirik has fixed this for now. We think the Rawhide nightly
> script is messing up the registry when it runs, he'll try and fix that
> later.
And I think thats now fixed (was some leftover armhfp stuff. ;)
Is this supposed to work now?
With mock-5.0-1.fc38.noarch and after scrubbing, the image is pulled but
then not used because it is "not marked ready" (rawhide, f39, f38). Am I
holding it wrong?
```
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Using bootstrap image:
registry.fedoraproject.org/fedora:38
INFO: Pulling image:
registry.fedoraproject.org/fedora:38
INFO: Copy content of container
registry.fedoraproject.org/fedora:38 to
/var/lib/mock/fedora-38-x86_64-bootstrap/root
INFO: mounting
registry.fedoraproject.org/fedora:38 with podman image mount
INFO: image
registry.fedoraproject.org/fedora:38 as
/var/lib/containers/storage/overlay/5eb2e729c16708697e84f3cf2648d1ff3f2ce56f2f1eceb0289b226bc96b061a/merged
INFO: umounting image
registry.fedoraproject.org/fedora:38
(/var/lib/containers/storage/overlay/5eb2e729c16708697e84f3cf2648d1ff3f2ce56f2f1eceb0289b226bc96b061a/merged)
with
podman image umount
INFO: Package manager dnf detected and used (fallback)
INFO: Bootstrap image not marked ready
Start(bootstrap): installing dnf tooling
```
and then dnf builds the chroot.
Michael