aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pygrub/examples
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@entel.upc.edu>2012-01-03 13:11:46 +0100
committerRoger Pau Monne <roger.pau@entel.upc.edu>2012-01-03 13:11:46 +0100
commitbde83b1e10cfb6a9dbea8dee1bd6df929740cb70 (patch)
tree538e325e15925be463953ffca37bdfec536fdf78 /tools/pygrub/examples
parenta5e66ebdebfd2dfa928afb44eeb335cf5e9f178e (diff)
downloadxen-bde83b1e10cfb6a9dbea8dee1bd6df929740cb70.tar.gz
xen-bde83b1e10cfb6a9dbea8dee1bd6df929740cb70.tar.bz2
xen-bde83b1e10cfb6a9dbea8dee1bd6df929740cb70.zip
pygrub: fix extlinux parsing
pygrub was unable to parse extlinux config files correctly, exactly the ones like: LABEL grsec KERNEL vmlinuz-3.0.10-grsec APPEND initrd=initramfs-3.0.10-grsec root=UUID=cfd4a7b4-8c40-4025-b877-8205f1c622ee modules=sd-mod,usb-storage,ext4 xen quiet This patch fixes it, adding a new case when parsing the "append" line, that searches for the initrd image. Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> Acked-by: Ian Campbell <ian.campbell.com> Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/pygrub/examples')
-rw-r--r--tools/pygrub/examples/alpine-linux-2.3.2.extlinux11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/pygrub/examples/alpine-linux-2.3.2.extlinux b/tools/pygrub/examples/alpine-linux-2.3.2.extlinux
new file mode 100644
index 0000000000..908b4070f1
--- /dev/null
+++ b/tools/pygrub/examples/alpine-linux-2.3.2.extlinux
@@ -0,0 +1,11 @@
+DEFAULT menu.c32
+PROMPT 0
+MENU TITLE Alpine/Linux Boot Menu
+MENU HIDDEN
+MENU AUTOBOOT Alpine will be booted automatically in # seconds.
+TIMEOUT 30
+LABEL grsec
+ MENU DEFAULT
+ MENU LABEL Linux 3.0.10-grsec
+ KERNEL vmlinuz-3.0.10-grsec
+ APPEND initrd=initramfs-3.0.10-grsec root=UUID=a97ffe64-430f-4fd3-830e-4736d9a27af0 modules=sd-mod,usb-storage,ext4 quiet