* util/grub.d/30_os-prober.in: Add missing classes.
This commit is contained in:
parent
d7e06c1f0b
commit
d7ee3441eb
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2010-09-05 Jo Shields <directhex@apebox.org>
|
||||||
|
|
||||||
|
* util/grub.d/30_os-prober.in: Add missing classes.
|
||||||
|
|
||||||
2010-09-05 Vladimir Serbinenko <phcoder@gmail.com>
|
2010-09-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* docs/grub.texi (Theme file format): Document new position format.
|
* docs/grub.texi (Theme file format): Document new position format.
|
||||||
|
|
|
@ -40,7 +40,7 @@ fi
|
||||||
|
|
||||||
osx_entry() {
|
osx_entry() {
|
||||||
cat << EOF
|
cat << EOF
|
||||||
menuentry "${LONGNAME} (${2}-bit) (on ${DEVICE})" {
|
menuentry "${LONGNAME} (${2}-bit) (on ${DEVICE})" --class osx --class darwin --class os {
|
||||||
EOF
|
EOF
|
||||||
save_default_entry | sed -e "s/^/\t/"
|
save_default_entry | sed -e "s/^/\t/"
|
||||||
prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
|
prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
|
||||||
|
@ -105,7 +105,7 @@ for OS in ${OSPROBED} ; do
|
||||||
chain)
|
chain)
|
||||||
|
|
||||||
cat << EOF
|
cat << EOF
|
||||||
menuentry "${LONGNAME} (on ${DEVICE})" {
|
menuentry "${LONGNAME} (on ${DEVICE})" --class windows --class os {
|
||||||
EOF
|
EOF
|
||||||
save_default_entry | sed -e "s/^/\t/"
|
save_default_entry | sed -e "s/^/\t/"
|
||||||
prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
|
prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
|
||||||
|
@ -147,7 +147,7 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat << EOF
|
cat << EOF
|
||||||
menuentry "${LLABEL} (on ${DEVICE})" {
|
menuentry "${LLABEL} (on ${DEVICE})" --class gnu-linux --class gnu --class os {
|
||||||
EOF
|
EOF
|
||||||
save_default_entry | sed -e "s/^/\t/"
|
save_default_entry | sed -e "s/^/\t/"
|
||||||
if [ -z "${prepare_boot_cache}" ]; then
|
if [ -z "${prepare_boot_cache}" ]; then
|
||||||
|
@ -174,7 +174,7 @@ EOF
|
||||||
;;
|
;;
|
||||||
hurd)
|
hurd)
|
||||||
cat << EOF
|
cat << EOF
|
||||||
menuentry "${LONGNAME} (on ${DEVICE})" {
|
menuentry "${LONGNAME} (on ${DEVICE})" --class hurd --class gnu --class os {
|
||||||
EOF
|
EOF
|
||||||
save_default_entry | sed -e "s/^/\t/"
|
save_default_entry | sed -e "s/^/\t/"
|
||||||
prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
|
prepare_grub_to_access_device ${DEVICE} | sed -e "s/^/\t/"
|
||||||
|
|
Loading…
Reference in a new issue