Closed steveklabnik closed 6 years ago
https://github.com/intermezzOS/kernel/pull/73 was the PR that added this, it works well enough for travis and such. I wonder if this is WSL specific.
Yeah, given travis still builds, I bet this is specific to the WSL. Hrm.
I got it working with this, but haven't tested it on a system with grub2-mkrescue:
ifeq ($(shell which grub-mkrescue >/dev/null; echo $$?),0)
grub-mkrescue = grub-mkrescue
else
ifeq ($(shell which grub2-mkrescue >/dev/null; echo $$?),0)
grub-mkrescue = grub2-mkrescue
else
$(error "grub-mkrescue is not found.")
endif
endif
I'm getting this error output:
grub-mkrescue
does exist, so I'm not sure why it's testing forgrub2-mkrescue
;