diff options
author | David Lehman <dlehman@redhat.com> | 2011-09-14 17:25:36 -0500 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2011-09-14 18:34:20 -0500 |
commit | 6cb65040c2e536808c1343e2cd2e0d4ef3a03a55 (patch) | |
tree | eff6d8103bf59aecfa3b13cee74a931b95909dd2 /pyanaconda/yuminstall.py | |
parent | 7a3dfac439c0b7383bf86d505a5814e77e47d2db (diff) | |
download | anaconda-6cb65040c2e536808c1343e2cd2e0d4ef3a03a55.tar.gz anaconda-6cb65040c2e536808c1343e2cd2e0d4ef3a03a55.tar.xz anaconda-6cb65040c2e536808c1343e2cd2e0d4ef3a03a55.zip |
Install grub2 when upgrading on bios x86. (#735730)
We want to probably also remove grub in this case but I haven't
figured out how.
Diffstat (limited to 'pyanaconda/yuminstall.py')
-rw-r--r-- | pyanaconda/yuminstall.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py index 13e74b153..4bd0b9cdf 100644 --- a/pyanaconda/yuminstall.py +++ b/pyanaconda/yuminstall.py @@ -1492,6 +1492,10 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon self.selectFSPackages(anaconda.storage) self.selectAnacondaNeeds() else: + if not anaconda.bootloader.skip_bootloader: + map(self.deselectPackage, anaconda.bootloader.obsoletes) + map(self.selectPackage, anaconda.bootloader.packages) + self.ayum.update() while True: |