summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@entel.upc.edu>2012-02-08 00:36:14 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2012-02-08 20:32:20 +0000
commit2224e6f0163bac21866130fd34d82f0f77e12709 (patch)
tree726d2a0cecc09e6417c875825e6a86e101995dae /testing
parent6850b1eefbb17f8ffcb792f3bd22115bfdde9562 (diff)
downloadaports-2224e6f0163bac21866130fd34d82f0f77e12709.tar.bz2
aports-2224e6f0163bac21866130fd34d82f0f77e12709.tar.xz
testing/xen: fix extlinux pygrub
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.
Diffstat (limited to 'testing')
-rw-r--r--testing/xen/pygrub_alpine.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/xen/pygrub_alpine.patch b/testing/xen/pygrub_alpine.patch
index 9d6ee577a..98d0822c7 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: