~alpine/devel

testing/xen: fix extlinux pygrub v1 PROPOSED

Roger Pau Monne: 1
 testing/xen: fix extlinux pygrub

 1 files changed, 1 insertions(+), 1 deletions(-)
2012/2/8 Natanael Copa <ncopa@alpinelinux.org>:
Next
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/devel/patches/329/mbox | git am -3
Learn more about email & git

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

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
@@ -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@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---