On Thursday, June 3, 2021 10:22:55 PM CEST Daniel Farina wrote:
I am trying to build some extensions to Postgres on COPR. One of the
things
that has made life more complex after EL8 or so is the "module" system. It is
obligatory to disable the "postgresql" module to be able to install PGDG
packages, e.g.
https://people.planetpostgresql.org/devrim/index.php?/archives/100-Instal...
I will need to do something similar to build a package with dependencies on
postgresql13-devel, and so on.
Unfortunately, I don't see a good way to affect the build chroot in COPR in
this way, to disable the included-with-EL8 postgresql module, making adding
the Postgres YUM repo (aka "pgdg repo") not useful.
Is there a solution for this?
You can disable particular MODULE:STREAM in the UI:
log-in => project => Settings => (near particular chroot) Edit button
=> Modules: field => specify `!MODULE:STREAM`.
To add a repository, you can use the "Repos:" field on the very same page.
Pavel