Skip to contentSkip to conversation

tools/pygrub: Fix extlinux when /boot is a separate partition from /

PATCH In review Andrew Cooper 2 participants 3 messages Jun 11, 2014 – Jun 18, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/pygrub: Fix extlinux when /boot is a separate partition from /

Grub and Grub2 already cope with this.

---
 tools/pygrub/src/pygrub |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
tools/pygrub/src/pygrub +3 -1
index 4c35f9d..a4a2423 100644
@@ -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"])
Signature · 1 line
1.7.10.4
#1 lore raw

Ping?

Quoted 25 lines · Andrew Cooper

Grub and Grub2 already cope with this.

---
 tools/pygrub/src/pygrub |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
tools/pygrub/src/pygrub +3 -1
index 4c35f9d..a4a2423 100644
@@ -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"])