Files
xen/tools/pygrub
Boris Ostrovsky d1b93ea261 tools/pygrub: Make pygrub understand default entry in string format
Currently pygrub can only correctly parse grub2's default attribute when it is
specified as a number. If it is set to ${saved_entry} or ${next_entry} then
the first image (i.e. entry number 0) is selected. If any other value is
specified (typically this would be the string in menuentry) pygrub will crash.

This patch will allow pygrub to interpret default attribute if it is specified
as a string (note that in case of submenus only the leaf string will be
considered).

Also issue a warning if default is set to ${saved_entry} or ${next_entry}.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
2014-07-03 11:11:05 +01:00
..
2006-07-14 11:49:26 +01:00

pygrub is a grub-like bootloader for xen. This tool is to use to boot domU images.

To compile pygrub, you will need the following packages installed:

1) Libraries of ext2fs, which is the following package (depend on your Linux distribution):
	- e2fslibs-dev on Debian based distributions (Debian, Ubuntu, Linspire, Libranet, Xandros, etc...)
	- e2fsprogs-devel on RedHat, Fedora Core
	- libext2fs2-devel on Mandriva/Mandrake
	- e2fsprogs on Gentoo

2) Libraries of reiserfs, which is the following package (depend on your Linux distribution):
	- libreiserfs-dev on Debian based distributions (Debian, Ubuntu, Xandros, Libranet, Xandros, etc...)
	- progsreiserfs-devel on RedHat
	- progsreiserfs on Gentoo