Fsync kernel replacement?

Is there currently a method to install the fsync custom kernel while keeping secureboot?
12 Replies
xyny
xyny2mo ago
yes, with the ublue kernel cache @fiftydinar might know more about this but basically you just have to do it just like bazzite does
elGabo
elGabo2mo ago
Thank you for your reply. So if I understand correctly, Bazzite's solution will not work with the hwe nvidia images of ublue and I must therefore go with a main image of ublue and add the akmod for nvidia manualy?
tom
tom2mo ago
@elGabo this is how I do it https://github.com/mecattaf/zen/blob/main/files/scripts/fsync-kernel-override.sh In recipe i call this script with:
- type: script
scripts:
- fsync-kernel-override.sh

- type: script
scripts:
- fsync-kernel-override.sh

xyny
xyny2mo ago
you can do it like that too, but im not sure about the secure boot, since it's not signed i think so yeah
fiftydinar
fiftydinar2mo ago
Currently maybe with containerfile feature, by using COPY for fsync kernel from kernel-cache repo, then doing a script which installs the kernel but it would be cleaner if this is implemented in bluebuild-cli directly, which is something that is considered
elGabo
elGabo2mo ago
Thank you very much!
I was able to install the fsync kernel and the nvidia driver using the containerfile module and a script. Secureboot works as expected.
Solution
elGabo
elGabo2mo ago
SovietThunderChicken
I thought fsync was already baked into the standard kernel?
xyny
xyny2mo ago
fsync refers to a patched kernel, specifically this i think https://copr.fedorainfracloud.org/coprs/sentry/kernel-fsync/ i'm not sure where the name comes from, though
SovietThunderChicken
My understanding is that the fsync functionality needed a patch kernel prior to 5.xxx (do not recall the exact version). All kernels after that have fsync baked in already, and since we are currently on kernel 6.9.xxx then everyone should have it
xyny
xyny2mo ago
there's other patches in this too
fiftydinar
fiftydinar2mo ago
fsync name for that kernel comes from the feature when they baked that in before official kernel did so it's just something that's stuck as a naming
Want results from more Discord servers?
Add your server