On Thursday, May 30, 2019 10:38:25 AM CEST Miroslav Suchý wrote:
Dne 29. 05. 19 v 23:52 Josh Boyer napsal(a):
> If we did this, wouldn't it make it very difficult to use tools like
> mock on RHEL / CentOS 7 to build for Fedora 3x?
Speaking of Mock:
Either the RPM on host need to understand the new format/compression **or**
the packages in @buildsys group (including transitional deps) have to be in
old format - then you can build for Fedora 3x using bootstrap feature.
I need to underline this, it would be really really really bad if we were
not able to --installroot fedora chroots at least on RHEL 8. How likely
is a backport of zstd support into RPM in EL7+?
Regarding @buildsys group and compat compression; if we were OK to use
`mock --bootstrap-chroot`, we could limit the package compatibility set
(not really subset) to dnf + dnf-utils + deps (see dnf_install_command in
site-defaults.cfg). But TBH I don't view this idea as feasible/maintainable
solution, "Requires:" do change all the time...
Another slightly more realistic way around would be to not --installroot
the bootstrap chroot in mock, but rely on some distributed "bootstrap"
root cache tarball (a standard, safe way) instead.
Both of them would be painful.
Typo: "having none of them would be painful", and very likely to happen.
Pavel