* util/grub.d/30_os-prober.in: Add support for probing EFI
System Partition (as of os-prober 1.58).
This commit is contained in:
parent
cec5cf0ced
commit
f25870887b
2 changed files with 21 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-05-31 Andrey Borzenkov <arvidjaar@gmail.com>
|
||||||
|
|
||||||
|
* util/grub.d/30_os-prober.in: Add support for probing EFI
|
||||||
|
System Partition (as of os-prober 1.58).
|
||||||
|
|
||||||
2013-05-31 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-05-31 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* configure.ac: Add yet another path to unifont. For parabola.
|
* configure.ac: Add yet another path to unifont. For parabola.
|
||||||
|
|
|
@ -147,6 +147,22 @@ EOF
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
chainloader +1
|
chainloader +1
|
||||||
}
|
}
|
||||||
|
EOF
|
||||||
|
;;
|
||||||
|
efi)
|
||||||
|
|
||||||
|
EFIPATH=${DEVICE#*@}
|
||||||
|
DEVICE=${DEVICE%@*}
|
||||||
|
onstr="$(gettext_printf "(on %s)" "${DEVICE}")"
|
||||||
|
cat << EOF
|
||||||
|
menuentry '$(echo "${LONGNAME} $onstr" | grub_quote)' --class windows --class os \$menuentry_id_option 'osprober-efi-$(grub_get_device_id "${DEVICE}")' {
|
||||||
|
EOF
|
||||||
|
save_default_entry | sed -e "s/^/\t/"
|
||||||
|
prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
|
||||||
|
|
||||||
|
cat <<EOF
|
||||||
|
chainloader ${EFIPATH}
|
||||||
|
}
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
linux)
|
linux)
|
||||||
|
|
Loading…
Reference in a new issue