Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build a custom image with a kmod #300

Closed
piaste opened this issue Feb 4, 2025 · 4 comments
Closed

Unable to build a custom image with a kmod #300

piaste opened this issue Feb 4, 2025 · 4 comments

Comments

@piaste
Copy link

piaste commented Feb 4, 2025

Hi,

I am trying to make a custom Bazzite image restoring the nct6687d kmod which was removed recently. (It is needed to control the fan/noise levels of my motherboard, and I did not suffer from crashes.)

I followed the instructions under Usage and in the image-template repo to create a custom image. However, it fails by requesting some dependencies that I have been unable to find - nct6687d-kmod-common is especially confusing as I cannot find any references to it anywhere.

Do you have any suggestions?

Containerfile

FROM ghcr.io/ublue-os/bazzite:stable

COPY --from=ghcr.io/ublue-os/akmods-extra:bazzite-41 /rpms/ /tmp/rpms
RUN find /tmp/rpms
RUN rpm-ostree install /tmp/rpms/kmods/*nct6687*.rpm

Build log

Problem: conflicting requests
  - nothing provides kernel-uname-r = 6.12.12-201.bazzite.fc41.x86_64 needed by kmod-nct6687d-0.0.git.109.80dc037b-1.fc41.x86_64 from @commandline
  - nothing provides nct6687d-kmod-common >= 0.0.git.109.80dc037b needed by kmod-nct6687d-0.0.git.109.80dc037b-1.fc41.x86_64 from @commandline
@m2Giles
Copy link
Member

m2Giles commented Feb 5, 2025

You need to enable the akmods copr.

https://copr.fedorainfracloud.org/coprs/ublue-os/akmods

@piaste
Copy link
Author

piaste commented Feb 5, 2025

@m2Giles Thanks! That fixed the nct6687d-common package, but not the kernel-uname-r package which is still missing.

After doing some search, I get the impression that once #295 is merged, that package will start appearing in future akmods-extra base images, is that correct?

If not, which copr should I add to get it?

@m2Giles
Copy link
Member

m2Giles commented Feb 6, 2025

Those are not in COPRs. You will need to get it from either the consolidated akmods-extra package or kernel-cache.

The merge has landed so you should use akmods-extra

@piaste
Copy link
Author

piaste commented Feb 7, 2025

Yep, it works now. Thank you @m2Giles! 👏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants