Replies: 4 comments 4 replies
-
Thank you for figuring out how to do this. I tried adapting your script to my own kernel RPMs, but it gave me an error. |
Beta Was this translation helpful? Give feedback.
-
I have updated the repo with another, easier, kernel replacement script, with stock silverblue replaced with xanmod kernel as another example. Previous script has also been updated and improved. |
Beta Was this translation helpful? Give feedback.
-
Worth nothing that if you want to use a custom kernel with nvidia drivers, then you're pretty much out of luck and would need to do that manually by layering the packages. In my experience, installing a custom kernel and the nvidia drivers in a Containerfile leads to the custom kernel being uninstalled and replaced by the default kernel, aside from some things like headers. You also can't really use ublue images as a base because they contain packages that conflicts with the replacement of the kernel, as stated by OP. |
Beta Was this translation helpful? Give feedback.
-
Can we include this in https://github.com/ublue-os/startingpoint? I'm trying to use the
Any ideas? |
Beta Was this translation helpful? Give feedback.
-
Why?
As I was attempting to get a currently unsupported game running on Fedora, I remembered about gpu passthrough. And while I was able to get everything set-up and working via layering
virt-manager
, andlooking-glass-client
from a copr repo, I was still experiencing one single issue: buggy usb passthrough. The remedy was to replace the kernel with one that included the acs patch, or to build and patch the kernel myself, to pass through my usb controller as a pci device with no issues.How?
So far I have been able to create a script script that replaces the installed kernel packages with the sentry/kernel-fsync kernel packages.
You can also use this script while on a stock Silverblue install, as long as you comment out the
rpm-ostree cliwrap install-to-root / && \
line. I have only tested this script on stock Silverblue and uBlue Silverblue.Problems
Unfortunately the script only works on stock Silverblue images because of dependency issues with the added kernel packages, and more, in uBlue images.
Beta Was this translation helpful? Give feedback.
All reactions