Closed PilotGuy772 closed 4 weeks ago
This is an open-source project and I'm reasonably confident with Linux sysadmin and Python so... I think I'll just try to fix this up myself and open a PR. I'll share my findings along the way.
Update: this works perfectly when the patches are applied in /etc/udev/rules.d/
, at least on my install. I'm working on integrating a --ostree
option to declare that the system uses ostree, but this should actually be relatively easy to implement into the platform checker.
Is your feature request related to a problem? Please describe. I cannot run envycontrol in its current state on my ostree-based distro because the software is not able to write to the read-only directory
/lib/udev/
.Describe the solution you'd like If possible, the software should have some sort of compatibility mode or just be retooled to work in an immutable distro. In most immutable distros, the files in
/etc/udev/rules.d/
are mutable. Envycontrol should be reworked to manipulate rules in/etc/udev/rules.d/
instead of in/lib/udev/rules.d/
. In fact, the entire purpose of/etc/udev/rules.d/
is for things like envycontrol, while/lib/udev/rules.d/
is really for OS default rules..rules
files in/etc/udev/rules.d/
should override files in/lib/udev/rules.d/
anyways, so I wouldn't imagine it would be too painful to implement. Describe alternatives you've considered This is frankly the only software around that appears to be still maintained and does what I want it to. There aren't any other alternatives. I've considered moving to a mutable distro, but I like bluefin too much ;) and I don't want to set up a whole new OS install.Additional context When I try to switch graphics, it errors out the ass with this output:
Bold of it to claim that the operation was completed successfully...
As for the errors with rebuilding the initramfs...
rpm-ostree
has sub-commandsinitramfs
andinitramfs-etc
, which together seem to support modifying the initramfs.Add any other context or screenshots about the feature request here.