Displaying 2 results from an estimated 2 matches for "_scripts_dir".
Did you mean:
scripts_dir
2010 Feb 18
2
backport upstream pygrub fixes to allow booting squeeze default install?
...continue working (#481105).
--- xen-3.orig/tools/python/xen/xend/osdep.py 2008-05-12 12:01:59.000000000 +0100
+++ xen-3/tools/python/xen/xend/osdep.py 2008-07-20 12:53:18.000000000 +0100
@@ -18,7 +18,8 @@
# Use is subject to license terms.
import os
import commands
+import xen.util.auxbin
_scripts_dir = {
"Linux": "/etc/xen/scripts",
@@ -92,6 +93,6 @@
scripts_dir = _get(_scripts_dir, "/etc/xen/scripts")
xend_autorestart = _get(_xend_autorestart)
-pygrub_path = _get(_pygrub_path, "/usr/bin/pygrub")
+pygrub_path = _get(_pygrub_path, xen.util.auxbin....
2007 Jan 05
10
[PATCH 1/7] Fix pygrub path on Solaris
...dep.py
+++ b/tools/python/xen/xend/osdep.py
@@ -29,8 +29,13 @@ _xend_autorestart = {
"SunOS": False,
}
+_pygrub_path = {
+ "SunOS": "/usr/lib/xen/bin/pygrub"
+}
+
def _get(var, default=None):
return var.get(os.uname()[0], default)
scripts_dir = _get(_scripts_dir, "/etc/xen/scripts")
xend_autorestart = _get(_xend_autorestart)
+pygrub_path = _get(_pygrub_path, "/usr/bin/pygrub")
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel