Hello everyone,
I am a COPR novice, but found it simple enough to copy various (usually newer) upstream packages from src.fedoraproject.org and get them building, or possibly adding a tiny tweak here and there. For example, openssh can be compiled on an older CentOS by simply copying a url out of src.fedoraproject.org: https://copr.fedorainfracloud.org/coprs/danielfarina/openssh/package/openssh...
And I was able to put in trivial tweaks to some dependencies and do much the same: https://copr.fedorainfracloud.org/coprs/danielfarina/openssh/build/2176635/
But the repository for the kernel is a lot more idiosyncratic, so I can't seem to get the simplest possible build: https://copr.fedorainfracloud.org/coprs/danielfarina/kernel/build/2201943/. What's the right way to do that? I mostly want to slowly bisect this bug on my laptop: https://bugzilla.redhat.com/show_bug.cgi?id=1921242. It may seem a bit weird to do this through COPR, but for various reasons I thought that would be useful to me, and a handy skill to have.
Thanks.
Dne 20. 05. 21 v 22:30 Daniel Farina napsal(a):
What's the right way to do that? I mostly want to slowly bisect this bug on my laptop:https://bugzilla.redhat.com/show_bug.cgi?id=1921242. It may seem a bit weird to do this through COPR, but for various reasons I thought that would be useful to me, and a handy skill to have.
I am afraid there is no right way. There is many way and none of them is better or worse. What suits you better is the right way. :)
Miroslav
How about the simplest? Is it not possible to build directly from the src.fedoraproject.org repositories, without modification?
On Thursday, June 3, 2021 7:49:22 PM CEST Daniel Farina wrote:
How about the simplest? Is it not possible to build directly from the src.fedoraproject.org repositories, without modification?
$ copr build-distgit <your_project> --name foo
Note that this method clones package "foo" from the Fedora DistGit 'main' branch - and Copr then creates a source RPM from that and builds it in all <your_project> chroots. So if each of the chroots requires a separate branch, more builds need to be submitted (see the --commit option).
Some info in the announcement: https://docs.pagure.org/copr.copr/release-notes/2020-11-13.html#simplified-b...
Pavel
copr-devel@lists.stg.fedorahosted.org