[rhel7/master] Skip nvram update on ppc64 image/dir installations (#1136486)
Brian C. Lane
bcl at redhat.com
Tue Sep 2 19:20:00 UTC 2014
We don't want to modify the host's nvram.
Resolves: rhbz#1136486
---
pyanaconda/bootloader.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 839ebd9..6995214 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -1943,6 +1943,9 @@ class IPSeriesYaboot(Yaboot):
super(IPSeriesYaboot, self).install()
def updatePowerPCBootList(self):
+ if flags.imageInstall or flags.dirInstall:
+ log.info("Skipping updatePowerPCBootList for image/directory install.")
+ return
log.debug("updatePowerPCBootList: self.stage1_device.path = %s", self.stage1_device.path)
@@ -2003,6 +2006,9 @@ class IPSeriesGRUB2(GRUB2):
# This will update the PowerPC's (ppc) bios boot devive order list
def updateNVRAMBootList(self):
+ if flags.imageInstall or flags.dirInstall:
+ log.info("Skipping updateNVRAMBootList for image/directory install.")
+ return
log.debug("updateNVRAMBootList: self.stage1_device.path = %s", self.stage1_device.path)
--
1.9.3
More information about the anaconda-patches
mailing list