[Pkg-xen-devel] Bug#390678: pygrub import path is incorrect

Jeff Licquia licquia at debian.org
Mon Oct 2 14:22:24 UTC 2006


Package: xen-utils-3.0.2-1
Version: 3.0.2-3+hg9762-1

>From /usr/lib/xen-3.0.2-1/lib/bin/pygrub:

> sys.path = [ '/usr/lib/python' ] + sys.path
> 
> import grub.GrubConf
> import grub.fsys

But grub.GrubConf, for example, is
at /usr/lib/xen-3.0.2-1/lib/python/grub/GrubConf.py.

Fix: change the added sys.path entry to point
to /usr/lib/xen-3.0.2-1/lib/python.





More information about the Pkg-xen-devel mailing list