envycontrol
envycontrol copied to clipboard
[BUG] EndeavorOS now uses kernel-install-for-dracut instead of dracut-rebuild to generate initramfs + kernel
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']
This is only in case you are using systemd-boot EndeavourOS is using reinstall-kernels
Grub installs still using dracut-rebuild
https://github.com/bayasdev/envycontrol/pull/91
dracut-rebuild works with either kernel-install-for-dracut or eos-dracut.
What error are you getting?