Mail archive
alpine-devel

[alpine-devel] [PATCH] testing/xen: fix extlinux pygrub

From: Roger Pau Monne <roger.pau_at_entel.upc.edu>
Date: Wed, 8 Feb 2012 00:36:14 +0100

Modified the patch to fix a problem when initrd is the first argument
in the append command. This is already commited to the Xen upstream
tree.
---
 testing/xen/pygrub_alpine.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/testing/xen/pygrub_alpine.patch b/testing/xen/pygrub_alpine.patch
index 9d6ee57..98d0822 100644
--- a/testing/xen/pygrub_alpine.patch
+++ b/testing/xen/pygrub_alpine.patch
_at_@ -38,7 +38,7 @@ diff -r 3e02aa9670b3 tools/pygrub/src/ExtLinuxConf.py
  
                  # Bypass regular self.commands handling
                  com = None
-+            elif arg.find("initrd="):
++            elif "initrd=" in arg:
 +                # find initrd image in append line
 +                args = arg.strip().split(" ")
 +                for a in args:
-- 
1.7.9
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Wed Feb 08 2012 - 00:36:14 UTC