Discussion:
Disabling the "postgresql" module before building
Daniel Farina
2021-06-03 20:22:55 UTC
Permalink
Hello all,

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-Installing-PostgreSQL-on-RHEL-8.html

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?

Thanks in advance.
_______________________________________________
copr-devel mailing list -- copr-***@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-***@lists.fedorahosted.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.fedorahosted.org/archives/list/copr-***@lists.fedorahosted.org
Do not reply to spam on the list
Pavel Raiskup
2021-06-04 08:41:59 UTC
Permalink
Post by Daniel Farina
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-Installing-PostgreSQL-on-RHEL-8.html
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


_______________________________________________
copr-devel mailing list -- copr-***@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-***@lists.fedorahosted.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.fedorahosted.org/archives/list/copr-***@lists.fedorahosted.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Loading...