Author: waldi Date: Sun Aug 26 17:22:47 2007 New Revision: 446 Log: debian/patches/tools-misc-prefix.diff, debian/patches/tools-pygrub-prefix.diff: Prepend own path. Modified: trunk/xen-3/debian/patches/tools-misc-prefix.diff trunk/xen-3/debian/patches/tools-pygrub-prefix.diff Modified: trunk/xen-3/debian/patches/tools-misc-prefix.diff =============================================================================--- trunk/xen-3/debian/patches/tools-misc-prefix.diff (original) +++ trunk/xen-3/debian/patches/tools-misc-prefix.diff Sun Aug 26 17:22:47 2007 @@ -11,7 +11,7 @@ - sys.exit(1) - -sys.path.append(result[1]) -+sys.path.append(sys.path[0] + ''/../lib/python'') ++sys.path.insert(1, sys.path[0] + ''/../lib/python'') from xen.xend.server import SrvDaemon +from xen.util.auxbin import execute @@ -55,7 +55,7 @@ -# add fallback path for non-native python path installs if needed -sys.path.append(''/usr/lib/python'') -sys.path.append(''/usr/lib64/python'') -+sys.path.append(sys.path[0] + ''/../lib/python'') ++sys.path.insert(1, sys.path[0] + ''/../lib/python'') from xen.xm import main main.main(sys.argv) Modified: trunk/xen-3/debian/patches/tools-pygrub-prefix.diff =============================================================================--- trunk/xen-3/debian/patches/tools-pygrub-prefix.diff (original) +++ trunk/xen-3/debian/patches/tools-pygrub-prefix.diff Sun Aug 26 17:22:47 2007 @@ -23,7 +23,7 @@ import getopt -sys.path = [ ''/usr/lib/python'' ] + sys.path -+sys.path.append(sys.path[0] + ''/../lib/python'') ++sys.path.insert(1, sys.path[0] + ''/../lib/python'') import fsimage import grub.GrubConf