On Sun, Sep 1, 2019 at 3:31 AM Florian Weimer <fwei...@redhat.com> wrote:
>
> * Kevin Fenzi:
>
> > On 8/29/19 11:44 PM, Miroslav Suchý wrote:
> >> Dne 29. 08. 19 v 18:58 Kamil Dudka napsal(a):
> >>> What is the recommended way to build Fedora 31+ RPMs on a RHEL-7 host?
> >>
> >> I think that no one contemplate supporting RHEL 7 regarding zstd. The real 
> >> thing is "how to build Fedora 31+ RPMs on a
> >> RHEL-8 host"?
> >>   https://bugzilla.redhat.com/show_bug.cgi?id=1715799
> >>
> >
> > Couldn't this be a use for bootstrap mode? Or is it still not working?
>
> Bootstrap mode still uses the host RPM.
>
> mock would have to bundle its own RPM (and DNF) for better backwards
> compatibility, which is probably the right thing to do in the long term
> anyway.
>

Well, technically, the correct thing to do would be for Mock to
support downloading bootstrap images to speed up bootstrap. These
images could be regularly produced by Fedora infrastructure and made
available on the mirror network for all targets we support as a
project. They'd be useful for COPR too, as then it can permanently
switch to bootstrap mode.

Alternatively, Mock could be taught how to manually unpack enough
packages with libarchive to get rpm + dnf working, and use that to
bootstrap into a real rootfs to do stuff. This strategy is what
obs-build does (though it only needs rpm since dependency solving is
built into obs-build).




--
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to