FOG kernels and inits moving to github
Some time ago when the fogproject.org website was down for a few days we decided to move important things like kernels and inits to a pretty solid destination - github. We already started to move the official kernel releases to github some time ago posting those links in the forums here and there.
It’s getting time to get this done and I will post updates on this here in this topic.
As a first step I added redirects to the webserver config to redirect requests for development kernels and inits directly to github, e.g. https://fogproject.org/kernels/bzImage -> https://github.com/FOGProject/fos/releases/latest/download/bzImage
As the very latest development kernels on github are from the 5.15.x series already everyone running the dev-branch or working-1.6 installer (fresh install or update) will pull those new kernels.
The next step is to move kernel updating through the web UI to github as well. There is more work involved in this and it will take a bit more time. Stay tuned.
Comments, suggestions and help are welcome.
I just pushed out a new
dev-branchversion that has the kernel update page fixed to pull the kernel list and files from github now.
The only trouble I see is that the github repo is not searchable if we need to get an older kernel for some reason. 99% of the time we are only looking for “the latest” but we have with certain problems had fog admins roll back to a previous kernel to see when the problem first started. We’ll just need to be mindful of the way things works moving forward.
That is a good point. Thought about this as well. We’ll definitely make the FOG web UI to show all the kernel releases that are available on github - similar to what we currently have in the web UI. Currently there are two 4.19.x kernels, four 5.10.x kernels and one 5.15.x kernel. In the old location we had a bunch more. Either we’ll just leave those old ones there for at least a year or so (no trouble at all) or I can upload those binaries to github as well. While the later is more convenient for users it’s just some extra work (find and tag the correct commits) and we don’t know if it’s worth it. Maybe it’s easier to just keep those in the old location and add that information to the docs?
@sebastian-roth I think this is a good move to change to a stabler download environment for FOG. The only trouble I see is that the github repo is not searchable if we need to get an older kernel for some reason. 99% of the time we are only looking for “the latest” but we have with certain problems had fog admins roll back to a previous kernel to see when the problem first started. We’ll just need to be mindful of the way things works moving forward.
Also added redirects for the inits and tested everything. So every install/update should now pull the files from github.
Put up a note on the FOG web UI kernel update page for everyone to spread the word: