On Sun, 2022-08-28 at 12:51 +0000, Jerry Kiely wrote: > 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 build the package, but it is failing: > > > No matching package to install: 'buildsys-build-rpmfusion- > > kerneldevpkgs-current-x86_64' > > Not all dependencies satisfied > > Error: Some packages could not be found. > > > > Could not execute mockbuild: Failed to execute command. > buildsys-build-rpmfusion-kerneldevpkgs-current-x86_64 is in RPMFusion repo so you can use --root, rfpkg mockbuild -N --no-local-resultsdir --root fedora-36-x86_64-rpmfusion_free for how packaging , you have these two examples here : https://pagure.io/rtl8821ce-kmod/ https://pagure.io/rtl88x2bu-kmod/ > Could someone suggest a more up-to-date or relevant tutorial, or > documentation please? I have been able to successfully create and > build an rpm for a regular package - by following the hello example: > > - > https://docs.fedoraproject.org/bn/package-maintainers/Packaging_Tutorial_GNU_Hello/ > > but creating a kmod package is proving difficult for me. Any help > would be appreciated. > you have two examples here : https://pagure.io/rtl8821ce-kmod/ https://pagure.io/rtl88x2bu-kmod/ > Thanks in advance, > > J.K. > _______________________________________________ > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx > 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.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam, report it: > https://pagure.io/fedora-infrastructure/new_issue -- Sérgio M. B. _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue