UB
Universal Blue•5mo ago
j0rge

Cadenced fsync kernel

CoreOS Cadenced fsync kernel
45 Replies
j0rge
j0rgeOP•5mo ago
No description
j0rge
j0rgeOP•5mo ago
This is where I'm at right now. 😄 but a stable channel with an fsync kernel would let us drop asus and surface images
M2
M2•5mo ago
Only surface
j0rge
j0rgeOP•5mo ago
oh what's the tldr on asus?
M2
M2•5mo ago
@Kyle Gospo but I'm tracking that the Asus kernel is still needed for ROG devices
Kyle Gospo
Kyle Gospo•5mo ago
fsync has the full ROG patch set we don't bother with it in bazzite at all
M2
M2•5mo ago
Oh Then yeah. We drop all our builds down to main/nvidia
j0rge
j0rgeOP•5mo ago
So for Bluefin this is effectively "run bazzite's old kernel at a pace dictated by coreOS"
M2
M2•5mo ago
Yes
j0rge
j0rgeOP•5mo ago
ok that makes sense so, from a product perspective we have GTS, the minivan, which will be on a gated kernel and fedora -1 we have latest which is basically for the people who want the latest, no gates - IMO we keep this opt-in, the cool kids know how to get it. and then Stable becomes the sports car version of bluefin, hangs out and smokes with bazzite, probably has better grades, that kinda thing. One singular image for people who want GNOME/KDE without the dad-linux vibes of GTS. That sound right? so gts and latest stay on distro kernels thoughts on this? also let's just call it a gated or cadenced kernel, when we say coreOS kernel I think it's confusing people to think that it's a different kernel
M2
M2•5mo ago
Well for GTS I would still like the gated kernel GTS/stable will be our products. Latest merely exists as our upstream And to say that we release fedora versions on time
j0rge
j0rgeOP•5mo ago
agreed, we just still have to announce that, but that seems like a nobrainer decision - I think it's more to not surprise people, we could do that in a rollup release or something.
M2
M2•5mo ago
Yeah
j0rge
j0rgeOP•5mo ago
yeah latest is our dev machines, my work machines aren't on latest, seems to make sense
M2
M2•5mo ago
I mean I've been on latest.... But yeah I'm on stable immediately So a possible method to implement this without additional work from jan. Create another caching layer for the fsync kernel. Each day it downloads the current version of the copr. Copies to a scratch container like we do for akmods. And then tag the container with the kernel version of the rpms. We then install the kernel with a COPY --from= like our akmods. We run this for a month of so. Then when the coreOS kernel has caught up to current version we can start installing from there instead of koji. what's horrible about this idea @Kyle Gospo
Kyle Gospo
Kyle Gospo•5mo ago
nothing at all, I wanted to do this
M2
M2•5mo ago
as in implementation any footguns?
Kyle Gospo
Kyle Gospo•5mo ago
I mean this is what our akmods are, techniclly I'm all for it
M2
M2•5mo ago
okay alright, if I get some time I'll setup a repository for this
j0rge
j0rgeOP•5mo ago
ok so we just basically keep a container as a kernel archive?
M2
M2•5mo ago
Yeah
j0rge
j0rgeOP•5mo ago
that sounds like a great idea to me I think we wanted to do this with steam too, but whatever
M2
M2•5mo ago
I don't know if this will help with steam. I think we want a base gnome/kde image with steam installed
j0rge
j0rgeOP•5mo ago
noel wanted to have steam just be a layer you can FROM from because it needs all this janky 32 bit stuff and when it breaks bazzite can't build and it would let people with custom images add steam without dealing with all that but that one's a backlog/dream right now anyway
M2
M2•5mo ago
Well this will work only if we get started on this since the switchover will take over a month
j0rge
j0rgeOP•5mo ago
this sounds good to me, it's basically "bluefin uses older bazzite kernels"
j0rge
j0rgeOP•5mo ago
OH NO HERE IT COMES
M2
M2•5mo ago
GitHub
GitHub - ublue-os/fsync: A caching layer for the fsync kernel from ...
A caching layer for the fsync kernel from sentry/kernel-fsync - ublue-os/fsync
M2
M2•5mo ago
Initial implementation in place
Kyle Gospo
Kyle Gospo•5mo ago
Ok this is sick I am beyond excited for this
M2
M2•5mo ago
some slight cleanup
Kyle Gospo
Kyle Gospo•5mo ago
Like I'll use it in bazzite day 1
M2
M2•5mo ago
we have a weird bootstrap with this where we need the akmods repo to run the fsync kernel run
Kyle Gospo
Kyle Gospo•5mo ago
Honestly since that's the case, might as well sign it And then there's no need to do that in the images later
M2
M2•5mo ago
basically, need something to get the kernel version from. We could do it in this workflow, but akmods is already running daily for kernel signing, we just download the rpm. So to sign them we would need to unpack the rpm and repack
Kyle Gospo
Kyle Gospo•5mo ago
Ah yeah that's fine then, skip it Nice setup
M2
M2•5mo ago
still has some small cuts I'm cleaning up but once we are green I'm cleaning up git history and going to bed Second repo I setup today and a lot of the same small cuts
j0rge
j0rgeOP•5mo ago
heh, take a nice long sleep you're on fire lately even kyle is like "wow, slow down" note: kyle would never say this
M2
M2•5mo ago
Can someone setup branch protection on main? 40 is green jan doesn't build for 39....
j0rge
j0rgeOP•5mo ago
on it (branch protection)
M2
M2•5mo ago
I just did it
M2
M2•5mo ago
No description
M2
M2•5mo ago
Going to add a shorter tag version for major_minor_patch since it looks like 201 sometimes gets incremented
Want results from more Discord servers?
Add your server