envycontrol icon indicating copy to clipboard operation
envycontrol copied to clipboard

[BUG] EndeavorOS now uses kernel-install-for-dracut instead of dracut-rebuild to generate initramfs + kernel

Open haensche opened this issue 1 year ago • 3 comments

The rebuilding of the initramfs is done via reinstall-kernels on EndeavorOS; at least on my configuration. Dracut-rebuild just throws an error pointing to reinstall-kernels.

Proposed change:

    elif os.path.exists('/usr/lib/endeavouros-release') and os.path.exists('/usr/bin/dracut'):
        command = ['reinstall-kernels']

haensche avatar Jun 11 '24 11:06 haensche

This is only in case you are using systemd-boot EndeavourOS is using reinstall-kernels

Grub installs still using dracut-rebuild

killajoe avatar Jul 06 '24 13:07 killajoe

https://github.com/bayasdev/envycontrol/pull/91

killajoe avatar Jul 06 '24 16:07 killajoe

dracut-rebuild works with either kernel-install-for-dracut or eos-dracut.

What error are you getting?

dalto8 avatar Jul 06 '24 17:07 dalto8