Yves Blusseau, le Tue 03 Nov 2009 14:36:09 +0100, a écrit :
> is it normal that hurd entry match ANY OS because you left the wildcard 
> in the hurd case:

Ugh, no, I was misguided by the hurd tag indeed, here is a patch.

Samuel
2009-11-03  Samuel Thibault  <samuel.thiba...@ens-lyon.org>

        * util/grub.d/30_os-prober.in: Restore default behavior for unsupported
        OSes.

Index: util/grub.d/30_os-prober.in
===================================================================
--- util/grub.d/30_os-prober.in (révision 2680)
+++ util/grub.d/30_os-prober.in (copie de travail)
@@ -158,7 +158,7 @@
 }
 EOF
     ;;
-    hurd|*)
+    hurd)
       cat << EOF
 menuentry "${LONGNAME} (on ${DEVICE})" {
 EOF
@@ -182,5 +182,8 @@
 }
 EOF
     ;;
+    *)
+      echo "  ${LONGNAME} is not yet supported by grub-mkconfig." >&2
+    ;;
   esac
 done
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to