Files
xen/tools/pygrub
Wei Liu 0aabd89dcf pygrub: make python scripts work with 2.6 and up
Run 2to3 and pick the sensible suggestions.

Import print_function and absolute_import so 2.6 can work.

There has never been a curses.wrapper module according to 2.x and 3.x
doc, only a function, so "import curses.wrapper" is not correct. It
happened to work because 2.x implemented a (undocumented) module.

We only need to import curses to make curses.wrapper available to
pygrub.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
2019-03-12 14:24:53 +00: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