netgod / rpms / anaconda

Forked from rpms/anaconda 2 years ago
Clone
Blob Blame History Raw
From 8a7013802803b8ccbe2953696bef39de2a6698ff Mon Sep 17 00:00:00 2001
From: Radek Vykydal <rvykydal@redhat.com>
Date: Fri, 20 Jun 2014 12:58:56 +0200
Subject: [PATCH 16/20] Use absolute path for extlinux/menu.c32

Perhaps thanks to all the syslinux.cfg symlinking done by ostree
payload, extlinux can't find the file given by relative path.

Resolves: rhbz#1113535
Port of rpmostreepayload patches from master
---
 pyanaconda/bootloader.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index b6d5941..6c693db 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -2248,7 +2248,7 @@ class EXTLINUX(BootLoader):
 
     def write_config_header(self, config):
         header = ("# extlinux.conf generated by anaconda\n\n"
-                  "ui menu.c32\n\n"
+                  "ui /extlinux/menu.c32\n\n"
                   "menu autoboot Welcome to %(productName)s. Automatic boot in # second{,s}. Press a key for options.\n"
                   "menu title %(productName)s Boot Options.\n"
                   "menu hidden\n\n"
-- 
1.9.3