summaryrefslogtreecommitdiffstats
path: root/booty/util.py
diff options
context:
space:
mode:
authorJacek Danecki <Jacek.Danecki@intel.com>2009-06-22 18:47:08 +0200
committerHans de Goede <hdegoede@redhat.com>2009-06-22 18:47:08 +0200
commitd170c67b33313b9abd4d5906407909ed98b0a4ee (patch)
tree26caf188943eef137fdc6ffab99a865a3e538c46 /booty/util.py
parent9e4d2e76713c9c71dcdaf22767211c13be9b3668 (diff)
downloadanaconda-d170c67b33313b9abd4d5906407909ed98b0a4ee.tar.gz
anaconda-d170c67b33313b9abd4d5906407909ed98b0a4ee.tar.xz
anaconda-d170c67b33313b9abd4d5906407909ed98b0a4ee.zip
booty changes for iswmd
This patch adds support for iswmd kernel parameter in booty.
Diffstat (limited to 'booty/util.py')
-rw-r--r--booty/util.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/booty/util.py b/booty/util.py
index 74ba561ed..41287059d 100644
--- a/booty/util.py
+++ b/booty/util.py
@@ -1,11 +1,13 @@
import string
+from flags import flags
def getDiskPart(dev, storage):
path = storage.devicetree.getDeviceByName(dev).path[5:]
cut = len(dev)
if (path.startswith('rd/') or path.startswith('ida/') or
path.startswith('cciss/') or path.startswith('sx8/') or
- path.startswith('mapper/') or path.startswith('mmcblk')):
+ path.startswith('mapper/') or path.startswith('mmcblk') or
+ path.startswith('md')):
if dev[-2] == 'p':
cut = -1
elif dev[-3] == 'p':