dpolovinkin / rpms / anaconda

Forked from rpms/anaconda 3 years ago
Clone

Blame SOURCES/0016-Use-absolute-path-for-extlinux-menu.c32.patch

fbcaed
From 8a7013802803b8ccbe2953696bef39de2a6698ff Mon Sep 17 00:00:00 2001
fbcaed
From: Radek Vykydal <rvykydal@redhat.com>
fbcaed
Date: Fri, 20 Jun 2014 12:58:56 +0200
fbcaed
Subject: [PATCH 16/20] Use absolute path for extlinux/menu.c32
fbcaed
fbcaed
Perhaps thanks to all the syslinux.cfg symlinking done by ostree
fbcaed
payload, extlinux can't find the file given by relative path.
fbcaed
fbcaed
Resolves: rhbz#1113535
fbcaed
Port of rpmostreepayload patches from master
fbcaed
---
fbcaed
 pyanaconda/bootloader.py | 2 +-
fbcaed
 1 file changed, 1 insertion(+), 1 deletion(-)
fbcaed
fbcaed
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
fbcaed
index b6d5941..6c693db 100644
fbcaed
--- a/pyanaconda/bootloader.py
fbcaed
+++ b/pyanaconda/bootloader.py
fbcaed
@@ -2248,7 +2248,7 @@ class EXTLINUX(BootLoader):
fbcaed
 
fbcaed
     def write_config_header(self, config):
fbcaed
         header = ("# extlinux.conf generated by anaconda\n\n"
fbcaed
-                  "ui menu.c32\n\n"
fbcaed
+                  "ui /extlinux/menu.c32\n\n"
fbcaed
                   "menu autoboot Welcome to %(productName)s. Automatic boot in # second{,s}. Press a key for options.\n"
fbcaed
                   "menu title %(productName)s Boot Options.\n"
fbcaed
                   "menu hidden\n\n"
fbcaed
-- 
fbcaed
1.9.3
fbcaed