Fix iso generation

echo -e does not work on ubuntu
echo does. It's the opposite on archlinux...
Use printf!
This commit is contained in:
Mathieu Maret 2019-05-12 22:56:51 +02:00
parent 7a684d735c
commit e1ac9ebd9d

View File

@ -26,7 +26,7 @@ kernel:$(asmobj) $(cobj) linker.ld
fd.iso: kernel
mkdir -p isodir/boot/grub
cp $< isodir/boot/
@echo "menuentry \"myos\" {\n\tmultiboot /boot/kernel\n}" > isodir/boot/grub/grub.cfg
@printf "menuentry \"myos\" {\n\tmultiboot /boot/kernel\n}" > isodir/boot/grub/grub.cfg
grub-mkrescue -o $@ isodir