From e756ec82846786505a806d2f4cc9dba9f7d3a5b2 Mon Sep 17 00:00:00 2001 From: Fam Zheng Date: Mon, 11 Nov 2013 00:24:49 +0100 Subject: [PATCH] * util/grub.d/30_os-prober.in: Add minix entry. --- ChangeLog | 4 ++++ util/grub.d/30_os-prober.in | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index c06aa81ca..24a07e352 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-11-11 Fam Zheng + + * util/grub.d/30_os-prober.in: Add minix entry. + 2013-11-10 Vladimir Serbinenko * grub-core/loader/i386/coreboot/chainloader.c (load_segment): Use diff --git a/util/grub.d/30_os-prober.in b/util/grub.d/30_os-prober.in index c991360cc..502faeaa8 100644 --- a/util/grub.d/30_os-prober.in +++ b/util/grub.d/30_os-prober.in @@ -293,6 +293,17 @@ EOF '\$(task-create)' '\$(task-resume)' module /lib/ld.so.1 exec /hurd/exec '\$(exec-task=task-create)' } +EOF + ;; + minix) + cat << EOF +menuentry "${LONGNAME} (on ${DEVICE}, Multiboot)" { +EOF + save_default_entry | sed -e "s/^/\t/" + prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/" + cat << EOF + multiboot /boot/image_latest +} EOF ;; *)