[master 1/1] Disable GRUB os_prober on POWER (#1193281)

kellinm installerbot-noreply at redhat.com
Tue Jul 28 14:51:05 UTC 2015


From: Robert Marshall <rmarshall at redhat.com>

The GRUB2 os_prober utility searches for other Linux installations
and the output to the grub config file is parsed incorrectly by
petitboot. This disables the os_prober script on the following
POWER based machine/platform combinations.

        CHRP/pSeries
        CHRP IBM/pSeries
        pSeries/pSeries
        Maple/pSeries,
        Cell/pSeries
        Momentum/pSeries
        PowerNV/pSeries

Resolves: rhbz#1193281
---
 pyanaconda/bootloader.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 0f62d73..af2fd23 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -2068,6 +2068,12 @@ def write_defaults(self):
         defaults = open(defaults_file, "a+")
         # The terminfo's X and Y size, and output location could change in the future
         defaults.write("GRUB_TERMINFO=\"terminfo -g 80x24 console\"\n")
+        # Disable OS Prober on pSeries systems
+        # TODO: This will disable across all POWER platforms. Need to get
+        #       into blivet and rework how it segments the POWER systems
+        #       to allow for differentiation between PowerNV and
+        #       PowerVM / POWER on qemu/kvm
+        defaults.write("GRUB_DISABLE_OS_PROBER=true\n")
         defaults.close()
 
 


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/b28a71166ffadfe18deb58209012ed13785f6459


More information about the anaconda-patches mailing list