summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2006-08-31 21:41:26 +0000
committerPeter Jones <pjones@redhat.com>2006-08-31 21:41:26 +0000
commit7273598c9d0eb980f148d4f0e3bcb6f95db13f66 (patch)
treed4dd16edfbc9904bf265643498b3050517e32df7
parentaea975f047938a303fc567cb305ac4f9d7638f42 (diff)
downloadanaconda-7273598c9d0eb980f148d4f0e3bcb6f95db13f66.tar.gz
anaconda-7273598c9d0eb980f148d4f0e3bcb6f95db13f66.tar.xz
anaconda-7273598c9d0eb980f148d4f0e3bcb6f95db13f66.zip
- Make it install kpartx and device-mapper-multipath when appropriate
-rw-r--r--ChangeLog6
-rw-r--r--yuminstall.py8
2 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fb632c592..2fefdaebb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-08-31 Peter Jones <pjones@redhat.com>
+
+ * yuminstall.py (YumBackend.selectFSPackages): install
+ device-mapper-multipath if we're using multipath, and kpartx if we're
+ using dmraid.
+
2006-08-30 Chris Lumens <clumens@redhat.com>
* iw/task_gui.py: Add new repos to the installclass's list so they
diff --git a/yuminstall.py b/yuminstall.py
index 4da2504ce..350121fa5 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -896,6 +896,14 @@ class YumBackend(AnacondaBackend):
self.selectPackage("iscsi-initiator-utils")
break
+ if not diskset.__class__.mpList is None:
+ log.info("ensuring device-mapper-multipath is installed")
+ self.selectPackage("device-mapper-multipath")
+ if not diskset.__class__.dmList is None:
+ log.info("ensuring kpartx is installed")
+ self.selectPackage("kpartx")
+
+
# anaconda requires several programs on the installed system to complete
# installation, but we have no guarantees that some of these will be
# installed (they could have been removed in kickstart). So we'll force