2009-12-08 Colin Watson <cjwatson@ubuntu.com>

* util/grub.d/30_os-prober.in: Call save_default_entry for hurd.
This commit is contained in:
Colin Watson 2009-12-08 01:02:08 +00:00
parent b967a04d5b
commit 6c1f8c1215
2 changed files with 5 additions and 0 deletions

View 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

View 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`"