aboutsummaryrefslogtreecommitdiff
path: root/gentoo
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-07-08 01:42:42 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-07-08 01:42:42 +0000
commitfd64819c9dc71c201e8031cdf8f097e5d17b9a4f (patch)
treef6cd1a48cc4a542244d71c5928b74d60e114a363 /gentoo
parentgentoo/utils.py: install a release version of GRUB2 (diff)
downloadanaconda-fd64819c9dc71c201e8031cdf8f097e5d17b9a4f.tar.gz
anaconda-fd64819c9dc71c201e8031cdf8f097e5d17b9a4f.tar.bz2
anaconda-fd64819c9dc71c201e8031cdf8f097e5d17b9a4f.zip
gentoo/utils.py: get rid of original grub
Diffstat (limited to 'gentoo')
-rw-r--r--gentoo/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gentoo/utils.py b/gentoo/utils.py
index 07000b8..2fc06f2 100644
--- a/gentoo/utils.py
+++ b/gentoo/utils.py
@@ -977,6 +977,7 @@ class GentooInstall:
self._progress.set_fraction(0.7)
subprocess.call(["cp", "--recursive", "/anaconda-overlay/sys-block", self._root+"/usr/portage/"])
self._progress.set_fraction(0.8)
+ subprocess.call(["rm", "-rf", self._root+"/usr/portage/sys-boot/grub"])
subprocess.call(["cp", "--recursive", "/anaconda-overlay/sys-boot", self._root+"/usr/portage/"])
self._progress.set_fraction(0.9)
subprocess.call(["cp", "--recursive", "/anaconda-overlay/sys-libs", self._root+"/usr/portage/"])