From 0c12e5b7427b4dfd2dfabf21f6b0e6e24bc8e864 Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Wed, 11 Jun 2014 19:31:55 +0100 Subject: [PATCH] tools/pygrub: Fix extlinux when /boot is a separate partition from / Grub and Grub2 already cope with this. Reported-by: Joseph Hom Signed-off-by: Andrew Cooper CC: Ian Campbell CC: Ian Jackson Acked-by: Ian Campbell --- tools/pygrub/src/pygrub | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/pygrub/src/pygrub b/tools/pygrub/src/pygrub index 4c35f9d10d..a4a2423064 100644 --- a/tools/pygrub/src/pygrub +++ b/tools/pygrub/src/pygrub @@ -418,7 +418,9 @@ class Grub: map(lambda x: (x,grub.ExtLinuxConf.ExtLinuxConfigFile), ["/boot/isolinux/isolinux.cfg", "/boot/extlinux/extlinux.conf", - "/boot/extlinux.conf"]) + \ + "/boot/extlinux.conf", + "/extlinux/extlinux.conf", + "/extlinux.conf"]) + \ map(lambda x: (x,grub.GrubConf.GrubConfigFile), ["/boot/grub/menu.lst", "/boot/grub/grub.conf", "/grub/menu.lst", "/grub/grub.conf"]) -- 2.39.5