]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-12-08 Colin Watson <cjwatson@ubuntu.com>
authorColin Watson <cjwatson@ubuntu.com>
Tue, 8 Dec 2009 01:02:08 +0000 (01:02 +0000)
committerColin Watson <cjwatson@ubuntu.com>
Tue, 8 Dec 2009 01:02:08 +0000 (01:02 +0000)
* util/grub.d/30_os-prober.in: Call save_default_entry for hurd.

ChangeLog.savedefault
util/grub.d/30_os-prober.in

index 25811c79bfe3ef9d602ae6485d3dace3e5678ec0..7457c3f714c779cfdb4c00f13969b0f1e2f6816e 100644 (file)
@@ -1,3 +1,7 @@
+2009-12-08  Colin Watson  <cjwatson@ubuntu.com>
+
+       * util/grub.d/30_os-prober.in: Call save_default_entry for hurd.
+
 2009-12-08  Colin Watson  <cjwatson@ubuntu.com>
 
        * util/grub.d/00_header.in: Use `set var=val' rather than plain
index f4a37d5f5e9f048757252c8d5b214cbdbbab93bf..b91838782214122fc9bf8b46bdd9e479dbda6b02 100644 (file)
@@ -170,6 +170,7 @@ EOF
       cat << EOF
 menuentry "${LONGNAME} (on ${DEVICE})" {
 EOF
+      save_default_entry | sed -e "s/^/\t/"
       prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
       grub_device="`${grub_probe} --device ${DEVICE} --target=drive`"
       mach_device="`echo "${grub_device}" | tr -d '()' | tr , s`"