aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pygrub/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* Use libfsimage for reading filesystem images.Tim Deegan2006-11-091-31/+10
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* Dynamically link to libgcc on Solaris. Also clean up duplicate -Wall flags.kfraser@localhost.localdomain2006-11-021-1/+1
| | | | Signed-off-by: John Levon <john.levon@sun.com>
* Attached patch fixes a thinko in pygrub's setup.pykaf24@firebug.cl.cam.ac.uk2005-11-101-2/+3
| | | | | | Signed-off-by: Jeremy Katz <katzj@redhat.com>
* Two patches were applied to pygrub's setup.py to work around python2.2kaf24@firebug.cl.cam.ac.uk2005-10-221-8/+5
| | | | | | | | limitations and only one is needed. Revert one of them. Signed-Off-By: Muli Ben-Yehuda <mulix@mulix.org>
* Tweak to pygrub build config detection.kaf24@firebug.cl.cam.ac.uk2005-10-211-1/+1
| | | | | Signed-off-by: Jeremy Katz <katzj@redhat.com>
* pygrub's setup.py relies on distutils.UnixCCompiler.has_function(),kaf24@firebug.cl.cam.ac.uk2005-10-191-5/+8
| | | | | | | | | | | | | | | | | | | | which does not exist with python2.2, causing the following build error: make[2]: Entering directory `/home/muli/xen/x86.hg/tools/pygrub' CFLAGS=" -m32 -march=i686" python setup.py build Traceback (most recent call last): File "setup.py", line 15, in ? if cc.has_function("ext2fs_open2"): AttributeError: UnixCCompiler instance has no attribute 'has_function' The following patch gets it to build, but is pretty ugly. A proper fix would be to do the check for ext2fs_open2() in a way that is backward compatible with python2.2. Signed-Off-By: Muli Ben-Yehuda <mulix@mulix.org>
* Re-enable the pygrub build and fix the build with olderkaf24@firebug.cl.cam.ac.uk2005-10-071-0/+12
| | | | | | | | | e2fsprogs (tested on RHEL4 with e2fsprogs-1.35 and rawhide with e2fsprogs-1.38) Signed-off-by: Jeremy Katz <katzj@redhat.com>
* The attached patch adds the support that was only stubbed in to be ablesmh22@firebug.cl.cam.ac.uk2005-08-021-1/+1
| | | | | | | | | | | | | to support having reading the boot loader config when you're using a whole disk (eg, file:/root/disk.img,xvda,w) as opposed to just a partition. This reads the partition table in the MBR to find the active partition and then passes that offset down into the filesystem reading code. Signed-off-by: Jeremy Katz <katzj@redhat.com>
* bitkeeper revision 1.1559 (4294fab4CMjRyJfuEBP1lUbAC6G9GA)kaf24@firebug.cl.cam.ac.uk2005-05-251-9/+21
| | | | | | | | | | | | | - pygrub/README provides information on packages needed to compile pygrub - support reiserfs {2,3} filesystem - dynamically build modules based on which filesystem libraries the system has (proposed by Jeremy) - pump up pygrub to version 0.2 Signed-off-by: Jeremy Katz <katzj@redhat.com> Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
* bitkeeper revision 1.1327.2.13 (4270d6c35WpxFmhdkREjmSvk82s-Bg)mjw@wray-m-3.hpl.hp.com2005-04-281-0/+25
Merge Jeremy's pygrub bootloader patch. Signed-off-by: Jeremy Katz <katzj@redhat.com> Signed-off-by: Mike Wray <mike.wray@hp.com>