Displaying 3 results from an estimated 3 matches for "have_ext2fs_open2".
2005 Oct 21
1
problems with tools/pygrub/setup.py and xen/xm/main.py
When making the "unstable" version I got an in "tools". There was a complaint
about "cc.has_function" in the following code area in tools/pygrub/setup.py
if cc.has_function("ext2fs_open"):
ext2defines.append( ("HAVE_EXT2FS_OPEN2", None) )
else :
sys.stderr.write ("Warning: older veriosn of e2fsprogs installed ...")
sys.stderr.write (" .... " )
ext2 = ...
As workaround I simply deleted the entire if - else construct. Make worked
then, but I suppose this is not a really satisf...
2005 Oct 21
1
Re: [Xen-changelog] Tweak to pygrub build config detection.
On Fri, 2005-10-21 at 18:54 +0000, Xen patchbot -unstable wrote:
> # HG changeset patch
> # User kaf24@firebug.cl.cam.ac.uk
> # Node ID 8eaaa622db81393ef0eae497090c34c04adf4212
> # Parent 3eee5653f08b01a310e0a9172a6c0149f16217df
> Tweak to pygrub build config detection.
> Signed-off-by: Jeremy Katz <katzj@redhat.com>
Applying both patches for this is overkill.... ;)
2006 Apr 10
0
Problems with pygrub: ValueError: unable to open file & FC5 - solution
...t unpack Xen, patch file, change directory to tools/pygrub
and reinstall pygrub''s helper library.
It worked for me.
Here the patch follows.
--- ext2module.c.orig 2006-04-10 23:18:00.000000000 +0200
+++ ext2module.c 2006-04-10 23:35:18.000000000 +0200
@@ -230,6 +230,8 @@
#ifdef HAVE_EXT2FS_OPEN2
if (offset != 0) {
snprintf(offsetopt, 29, "offset=%d", offset);
+ } else {
+ offsetopt[0] = 0;
}
err = ext2fs_open2(name, offsetopt, flags, superblock, block_size,
_______________________________________________
Xen-users mailing list
Xen-users@lists....