Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
I'm guessing I need to provide a separate common package containing the non-binary files - i.e. udev configs, license, readme, and so on. So the akmod, or the kmod package implicitly expects a corresponding common package to be made available? Anything need to be done specifically to make this

Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
Done. Thanks for the feedback. J.K. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List

Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
After removing the sub-package references I am now getting: dnf install ./akmod-hid-ite8291r3-0.0-1.fc36.1.x86_64.rpm ./hid-ite8291r3-kmod-0.0-1.fc36.1.x86_64.rpm Last metadata expiration check: 0:06:33 ago on Mon 29 Aug 2022 13:39:50. Error: Problem: conflicting requests -

Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
spectool executed successfully. spectool -g hid-ite8291r3-kmod.spec  ✔ Downloading:

Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
Thanks so much. Making lots of progress now. The process has completed, and seems to be working. This is the contents of the result directory: ls -la total 212 drwxrwsr-x. 1 jerry mock 432 Aug 29 11:07 . drwxrwsr-x. 1 root mock48 Aug 29 11:07 .. -rw-r--r--. 1 jerry mock 23454 Aug 29

Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
Thanks for the reply - I'll try this later. Can you point me at the documentation for the process please? I can find docs and tutorials on building standard RPMs - the hello tutorial for example - but I can't find any documentation anywhere for building RPMs for kernel module, or for building

Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
Here is a link to the code: https://github.com/cowboysmall-apps/hid-ite8291r3-kmod any help would be appreciated. Thanks in advance, J.K. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to

Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
Here is the code: https://github.com/cowboysmall-apps/hid-ite8291r3-kmod I tried to post the link a few minutes ago but it failed. Any help or advice would be greatly appreciated. J.K. ___ devel mailing list -- devel@lists.fedoraproject.org To

Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
Done. Both packages build, install, and work perfectly. Thanks for all the advice. J.K. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct:

Re: problem creating a kernel module rpm package

2022-08-29 Thread Jerry Kiely
Thanks to Sergio and everyone who helped me get this up and running. If you have time to offer any feedback it would be greatly appreciated. All the relevant links are: https://github.com/cowboysmall-apps/hid-ite8291r3-kmod https://pagure.io/hid-ite8291r3-kmod

problem creating a kernel module rpm package

2022-08-28 Thread Jerry Kiely
Hi, I am trying to create a kernel module rpm package, but am running into difficulty. I have cobbled together a spec based on the following tutorial: - https://rpmfusion.org/Packaging/KernelModules/Kmods2 and I am trying to use the following command - 'fedpkg --release f36 mockbuild' - to

je...@cowboysmall.com

2022-08-28 Thread Jerry Kiely
je...@cowboysmall.com ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines:

Re: problem creating a kernel module rpm package

2022-08-28 Thread Jerry Kiely
Thanks for the response. I followed the examples you linked as closely as I could, and executed the command you suggested, but two issues: rfpkg mockbuild -N --no-local-resultsdir --root fedora-36-x86_64-rpmfusion_free rfpkg: error: unrecognized arguments: --no-local-resultsdir and: rfpkg

Re: problem creating a kernel module rpm package

2022-08-28 Thread Jerry Kiely
Thanks for the reply. Could you recommend any up-to-date documentation? J.K. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct:

Re: problem creating a kernel module rpm package

2022-08-28 Thread Jerry Kiely
I did remove it and got the following result: rfpkg mockbuild -N --root fedora-36-x86_64-rpmfusion_free sources file doesn't exist. Source files download skipped. Failed to get repository name from Git url or pushurl Failed to get ns from Git url or pushurl Could not execute mockbuild: