[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] prefix and python site-packages
configure --prefix=/some/where puts pygrub and xen/lowlevel/xc.so below /some/where. But pygrub fails because it can not find the python site-packages. Is there a clean way to automate something like this? diff --git a/tools/pygrub/src/pygrub b/tools/pygrub/src/pygrub index 7759b1a..4134082 100644 --- a/tools/pygrub/src/pygrub +++ b/tools/pygrub/src/pygrub @@ -14,6 +14,7 @@ # import os, sys, string, struct, tempfile, re, traceback +sys.path.insert(0, "/some/where/lib64/python2.6/site-packages") import errno import copy import logging Olaf _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |