[PATCH 2/2] Make sure lvm2 gets installed when we are using lvm (#601644)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 pyanaconda/storage/devices.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/storage/devices.py b/pyanaconda/storage/devices.py
index 33492c5..919f8af 100644
--- a/pyanaconda/storage/devices.py
+++ b/pyanaconda/storage/devices.py
@@ -1594,6 +1594,7 @@ class DMCryptDevice(DMDevice):
 class LUKSDevice(DMCryptDevice):
     """ A mapped LUKS device. """
     _type = "luks/dm-crypt"
+    _packages = ["cryptsetup-luks"]
 
     def __init__(self, name, format=None, size=None, uuid=None,
                  exists=None, sysfsPath='', parents=None):
@@ -1713,6 +1714,7 @@ class LVMVolumeGroupDevice(DMDevice):
             DMDevice since there's no actual device.
     """
     _type = "lvmvg"
+    _packages = ["lvm2"]
 
     def __init__(self, name, parents, size=None, free=None,
                  peSize=None, peCount=None, peFree=None, pvCount=None,
@@ -2157,6 +2159,7 @@ class LVMLogicalVolumeDevice(DMDevice):
     """ An LVM Logical Volume """
     _type = "lvmlv"
     _resizable = True
+    _packages = ["lvm2"]
 
     def __init__(self, name, vgdev, size=None, uuid=None,
                  stripes=1, logSize=0, snapshotSpace=0,
@@ -2433,6 +2436,7 @@ class LVMLogicalVolumeDevice(DMDevice):
 class MDRaidArrayDevice(StorageDevice):
     """ An mdraid (Linux RAID) device. """
     _type = "mdarray"
+    _packages = ["mdadm"]
 
     def __init__(self, name, level=None, major=None, minor=None, size=None,
                  memberDevices=None, totalDevices=None,
-- 
1.7.0.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux