WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Update pygrub for new Solaris directory n

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Update pygrub for new Solaris directory names.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Jan 2007 10:45:06 -0800
Delivery-date: Fri, 19 Jan 2007 10:44:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User john.levon@xxxxxxx
# Date 1169173194 28800
# Node ID 5633bb2abeafb08485aaea712c36aaf19f5517f5
# Parent  e2539ab3580a28a6bebfe7ea4756fb8c6f90a722
Update pygrub for new Solaris directory names.

Signed-off-by: John Levon <john.levon@xxxxxxx>
---
 tools/pygrub/src/pygrub |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -r e2539ab3580a -r 5633bb2abeaf tools/pygrub/src/pygrub
--- a/tools/pygrub/src/pygrub   Thu Jan 18 18:54:28 2007 +0000
+++ b/tools/pygrub/src/pygrub   Thu Jan 18 18:19:54 2007 -0800
@@ -503,7 +503,7 @@ def run_grub(file, entry, fs):
 # If nothing has been specified, look for a Solaris domU. If found, perform the
 # necessary tweaks.
 def sniff_solaris(fs, cfg):
-    if not fs.file_exists("/platform/i86xen/kernel/unix"):
+    if not fs.file_exists("/platform/i86xpv/kernel/unix"):
         return cfg
     
     # darned python
@@ -516,10 +516,10 @@ def sniff_solaris(fs, cfg):
             longmode = True
 
     if not cfg["kernel"]:
-        cfg["kernel"] = "/platform/i86xen/kernel/unix"
+        cfg["kernel"] = "/platform/i86xpv/kernel/unix"
         cfg["ramdisk"] = "/platform/i86pc/boot_archive"
         if longmode:
-            cfg["kernel"] = "/platform/i86xen/kernel/amd64/unix"
+            cfg["kernel"] = "/platform/i86xpv/kernel/amd64/unix"
             cfg["ramdisk"] = "/platform/i86pc/amd64/boot_archive"
 
     # Unpleasant. Typically we'll have 'root=foo -k' or 'root=foo /kernel -k',

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Update pygrub for new Solaris directory names., Xen patchbot-unstable <=