-
Notifications
You must be signed in to change notification settings - Fork 50
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
[Bug] you can't install akmod-wl #85
Comments
can you run |
one second. I gotta boot into the vm and type that in |
https://gist.github.com/dnkmmr69420/b372c2ecdb400afb33f6a20bd24bb9c7 here is the link |
Hi @dnkmmr69420 , I noticed you wanted the Not sure if you got any further with this, but akmods can't be built trivially with an That's part of why the ublue-os project exists, trying to take some of that headache out of the system. I know the team is working on a process to enable more akmods, but in the meantime, I added If you are interested in how the build process works, take a look at the changes I made to add this new akmod to what I was already doing: https://github.com/bsherman/ublue-kmods/pull/1/files Hope it's helpful! |
@dnkmmr69420 bonus! We just added this driver to the new ublue akmods repo so it'll be in all ublue main and derivative images after the next build cycle. |
that's good |
@castrojo , can you please reopen it? Reproduced with such steps:
My logs bellow (actually they're the same as @dnkmmr69420 had) P.S. After rebasing to Fedora Silverblue 38 & adding RPMFusion installation succeed. akmod-wl_rpm-ostree_output_fedora.txt P.P.S. I guess until this issue is resolved users need to produce custom image, fork akmod repo and enable required RPMs. |
@xalt7x I'm going to close this issue again. The original problem described here and as you describe, is not a problem with Universal Blue. What y'all have described is the general difficulty of using dynamically built kmods on an immutable system, specifically Fedora Silverblue/CoreOS/etc. We did briefly include
You have started to reference the recommended process here. If you want to build akmods not provided in our akmods repo, you can fork and add to it. However, I'd suggest the following if you desire a kmod we provide, such as the legacy broadcom wl driver: Generally speaking, please follow these instructions: https://github.com/ublue-os/akmods/blob/main/README.md?plain=1#L11-L13 But those instructions will have you installing every kmod available. In general, you probably only want to add one or a few from that repo. Using those instructions as a template, I'd change it to look like this:
This presupposes you will build a custom image based on |
Also, I did file this ticket to remind us to improve the readme in akmods ublue-os/akmods#49 |
Well, as a user I can say that:
Is there any way to resolve this without building a custom image? |
I do appreciate the distinction, thank you for clarifying.
My guess is this is one of the quirky problems with our unofficial upstream images. Every time we find one of those, it's just work to find out exactly what isn't working, how the upstream image differs from standard, and fix/mitigate it if possible. I'll reopen, sorry for rushing to re-close. |
Problem seem more global as other akmod from RPMFusion (free and non-free) cannot be installed on top of Universal Blue images. I've tested "silverblue-main:38".
All of them fail with the same error (posted here and here ) @castrojo , @bsherman |
I should tell you, I don't see this as a high priority problem, but I do welcome any information you can provide if you want to keep working on solving it. Why is this not high priority? From my perspective, the whole concept of Universal Blue is to provide the tools to enable users to have a highly reliable system, built with cloud technologies, customized (either personally, or through a downstream like bluefin or bazzite), and where the heavy lifting of compiling kernel drivers, etc, is all done before installing on one's machine.
No, excluding rpms built in our Technically speaking, I think the problem is one of the following:
We have done nothing intentional to cripple the direct install of akmods as an rpm-ostree overlay, but I personally abandoned that approach and dove into Universal Blue contribution as soon as I found it. I always felt it was pretty horrible and error prone to do local kernel mod recompiles with every kernel update or driver update using akmod(Fedora) or dkms(ubuntu/debian); so being able to do that work in Github and installing only after things built clean has been wonderful. |
Thanks for the explanation. Now I see the bigger picture |
Hello @bsherman and @castrojo , I'm happy to inform that the new "nokmods" branches don't seem to be affected by this issue and bazzite issue #229 Today I've re-tested installation of the proprietary Nvidia driver on non-Nvidia ublue-os images
Results:
Should I open a new issue in the akmods repo? |
Wow! That's good to know! And, I apologize for directly answering your question above completely incorrectly; apparently removing all our pre built akmods DID solve this. I truly thought the solution had been attempted and not halped.
What would the new issue be for? |
Well, original issue was about an old Broadcom driver (for which we already have a simple workaround. And now we're discussing other, more global one (my bad :-) ) . So I thought, maybe it will be a good idea to open a new issue with more appropriate title, description, location etc... |
You are always welcome to open issues where you think appropriate. :-) |
When I install akmod-wl on my laptop using the silverblue-main:37 image, I get the following error. It works fine on the official silverblue image but this error apears on ublue. To reproduce, install silverblue, rebase to silverblue-main:37 image, type
sudo rpm-ostree install akmod-wl
then you get this error. The same thing happens on my laptop and in a vm.Downloading from 'rpmfusion-nonfree'... done Importing packages... done Checking out packages... done Running pre scripts... done Running post scripts... done error: Running %post for akmod-wl: bwrap(/bin/sh): Child process killed by signal 1; run
journalctl -t 'rpm-ostree(akmod-wl.post)'for more information
The text was updated successfully, but these errors were encountered: