bayasdev / envycontrol

Easy GPU switching for Nvidia Optimus laptops under Linux
https://bayas.dev/envycontrol
MIT License
1.18k stars 60 forks source link

Update EndeavourOS support #91

Closed dalto8 closed 1 year ago

dalto8 commented 1 year ago

Switches the dracut command and also adds command for systems running mkinitcpio.

If mkinitcpio isn't needed, I can revise this to only switch the dracut command.

bayasdev commented 1 year ago

From my experience using vanilla Arch Linux (no dracut) rebuilding the ramdisk with mkinitcpio is not needed.

Also is dracut-rebuild an EOS specific command/alias?

dalto8 commented 1 year ago

From my experience using vanilla Arch Linux (no dracut) rebuilding the ramdisk with mkinitcpio is not needed.

Updated.

Also is dracut-rebuild an EOS specific command/alias?

Yes. It is. It ensures the initrams are put in the correct locations which varies depending on which bootloader you are using.

killajoe commented 1 month ago

https://github.com/bayasdev/envycontrol/issues/170