document cmdpath environment variable

This commit is contained in:
Andrey Borzenkov 2013-11-16 17:00:59 +04:00
parent 9e18dfe277
commit c2fdb33116
2 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2013-11-16 Andrey Borzenkov <arvidjaar@gmail.com>
* docs/grub.texi (Environment): Document cmdpath.
2013-11-16 Andrey Borzenkov <arvidjaar@gmail.com> 2013-11-16 Andrey Borzenkov <arvidjaar@gmail.com>
* grub-core/kern/mips/arc/init.c (grub_machine_get_bootlocation): * grub-core/kern/mips/arc/init.c (grub_machine_get_bootlocation):

View file

@ -2989,6 +2989,7 @@ These variables have special meaning to GRUB.
* biosnum:: * biosnum::
* check_signatures:: * check_signatures::
* chosen:: * chosen::
* cmdpath::
* color_highlight:: * color_highlight::
* color_normal:: * color_normal::
* debug:: * debug::
@ -3058,6 +3059,16 @@ the titles of each of the submenus starting from the top level followed by
the title of the menu entry itself, separated by @samp{>}. the title of the menu entry itself, separated by @samp{>}.
@node cmdpath
@subsection cmdpath
The location from which @file{core.img} was loaded as an absolute
directory name (@pxref{File name syntax}). This is set by GRUB at
startup based on information returned by platform firmware. Not every
platform provides this information and some may return only device
without path name.
@node color_highlight @node color_highlight
@subsection color_highlight @subsection color_highlight