Displaying 3 results from an estimated 3 matches for "pygrub_path".
2010 Feb 18
2
backport upstream pygrub fixes to allow booting squeeze default install?
...8,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.pathTo("pygrub"))
vif_script = _get(_vif_script, "vif-bridge")
lookup_balloon_stat = _get(_balloon_stat, _linux_balloon_stat)
If you agree with these changes then I think I hav...
2008 Jul 20
4
Bug#481105: [PATCH] adjust patch to pygrub and hvmloader
I just tripped over this issue with pygrub. The code is written such
that saying bootloader="pygrub" should cause the correct path to be
used, the attached patch simply fixes this path to be correct.
I don't have an HVM capable test machine handy (so I can't actually
confirm this works) but I think changing the default "kernel" for an HVM
guest to point to the correct
2007 Jan 05
10
[PATCH 1/7] Fix pygrub path on Solaris
...xen.xend.XendConfig import scrub_password
@@ -1547,7 +1547,7 @@ class XendDomainInfo:
else:
# Boot using bootloader
if not blexec or blexec == ''pygrub'':
- blexec = ''/usr/bin/pygrub''
+ blexec = osdep.pygrub_path
blcfg = None
for (devtype, devinfo) in self.info.all_devices_sxpr():
diff --git a/tools/python/xen/xend/osdep.py b/tools/python/xen/xend/osdep.py
--- a/tools/python/xen/xend/osdep.py
+++ b/tools/python/xen/xend/osdep.py
@@ -29,8 +29,13 @@ _xend_autorestart = {
"...