Open norz3n opened 2 years ago
At least now the RPM builds should work well with nvidia and co. Unfortunately I have no idea how we deal with copr
I am modifying TKG patches for Fedora, and they are available in my GutHub repo: https://github.com/whitehara/kernel-patch-fedora
Now RPMs are also in my Copr repo: https://copr.fedorainfracloud.org/coprs/whitehara/kernel-tkg/
It's my pleasure if it helps you.
I recently opened PR #864 that adds pipelines to build RPMs on the latest fedora release (I wonder if the kernel packages are actually backwards compatible with older fedora versions). Any chance to use those packages and make a repo out of them, like having the pipeline push to a copr repo ?
@AdelKS Nice work! So you want to publish your kernel RPMs on copr by your Git Actions, right? If so, please refer my Git Actions That action's points are below:
Thanks for your feedback @whitehara
That sounds as too much work for me if cannot simply upload the built rpm
in Github's pipeline. I am not sure there's an option in the kernel's build things to produce an srpm
.
I see that on your copr you only keep the patches that linux-tkg
adds but not the tweaks made by the prepare
script, am I wrong ?
@AdelKS
I am not sure there's an option in the kernel's build things to produce an srpm.
install.sh uses make rpm-pkg
to produce RPMs, I think that command also make the SRPM into the ${_fedora_work_dir}/SRPMS
.
I see that on your copr you only keep the patches that linux-tkg adds but not the tweaks made by the prepare script, am I wrong ?
I'm not using the prepare script. Some features provided by the prepare script are controlled by kernel-mock.sh
and support-features
to change CPU schedulers, architectures, etc.
By each lines of the support-features
, the kernel-mock.sh
makes different configured SRPMs at the same time.
These SRPMs are sent to different Copr projects for building each configured packages. So, users can select the project/packages which are suitable for their needs.
Hello, I decided to create a Copr repository with a TKG kernel for Fedora Linux and I have no idea how to get it to build correctly (Copr building the packages by itself). I would be glad for any help
The repository link (it's empty for now): https://copr.fedorainfracloud.org/coprs/norz3n/kernel-tkg/