-
Notifications
You must be signed in to change notification settings - Fork 55
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
Support for immutable versions of Fedora #192
Comments
Hi, thanks for showing interest in this. While I would like support for immutable distros using ostree, I don't feel like running the script and allowing it to modify system files is the correct approach. If we take a look at the script, it does the following:
The last two are easy enough to just package. As part of a collaboration between Fyra Labs and chrultrabook, chromebook ucm is packaged in Fyra's terra repo, with automatic updates. Various other packages for chromebooks are also packaged in that repo. If we take a look at platform-specific config cases:
As kernel patches are needed for a few, a chromebook kernel could be used instead of a script. See this for more details on the patches. All of the logic in this script can be kernel patches or packages, which I believe is the best way to support immutable distros. |
Hi, thanks for replying to this. First of, I cannot test it very well so I'm depending on users to report bugs. I only have one chromebook that needs this script (pujjo, adl) and it works well on this device with Bazzite (I also do some retro gaming on the go with this device :) ).
I agree, but that would mean a lot of work and this statement also applies to this script setup in the first place. On image based system, it would even be better since every update starts with a clean image and everything should be removed on removal of the rpm package. My goal is an auto-updating rpm where, with minimal changes/work, immutable enjoyers can use this script. With your notes and the script I've made the following changes:
This is great! However I'm using the
This should work out of the box
For now I've disabled support for I did disable the update DSP firmware download since it's already in Fedora (I checked). disable_avs_dsp_firmware.patch
I've defaulted to
Nothing special about this. I did disable
For this I just added an
I agree. I don't know much about kernel patching though. For now I think this works well for most of the Fedora immutable enjoyers. There are a lot of patches now and I think it would be better to add a Also a did make a sub package If at any point you want to take over or want to build your own packages, let me know. Project: |
Hey @WeirdTreeThing!
I've created a copr repo to support immutable fedora distro's!
https://copr.fedorainfracloud.org/coprs/pvermeer/chromebook-linux-audio
https://github.com/PVermeer/chromebook-linux-audio
It works by packaging this repo and the
alsa-ucm-conf-cros
repo while disabling thegit clone
in your script. Thealsa-ucm-conf-cros
repo is then copied to /tmp so the script can use it.The script run in the %post step so it has write access to the system and can make the necessary adjustments.
Let me know what you think!
The text was updated successfully, but these errors were encountered: