1 |
diff -Nur -x '*.orig' -x '*.rej' anaconda-10.1.1.46/fsset.py mezzanine_patched_anaconda-10.1.1.46/fsset.py |
2 |
--- anaconda-10.1.1.46/fsset.py 2006-12-08 14:14:36.000000000 -0700 |
3 |
+++ mezzanine_patched_anaconda-10.1.1.46/fsset.py 2006-12-08 14:12:44.000000000 -0700 |
4 |
@@ -1556,6 +1556,10 @@ |
5 |
entry.device.setupDevice(chroot) |
6 |
self.volumesCreated = 1 |
7 |
|
8 |
+ def createBootRaid (self, chroot='/'): |
9 |
+ bootDev = self.getBootDev() |
10 |
+ if bootDev.getDevice().startswith('md'): |
11 |
+ bootDev.setupDevice(chroot) |
12 |
|
13 |
def makeFilesystems (self, chroot='/'): |
14 |
formatted = [] |
15 |
diff -Nur -x '*.orig' -x '*.rej' anaconda-10.1.1.46/packages.py mezzanine_patched_anaconda-10.1.1.46/packages.py |
16 |
--- anaconda-10.1.1.46/packages.py 2006-12-08 14:14:36.000000000 -0700 |
17 |
+++ mezzanine_patched_anaconda-10.1.1.46/packages.py 2006-12-08 14:13:07.000000000 -0700 |
18 |
@@ -564,6 +564,7 @@ |
19 |
if not thefsset.isActive(): |
20 |
diskset.savePartitions () |
21 |
thefsset.checkBadblocks(instPath) |
22 |
+ thefsset.createBootRaid(instPath) |
23 |
if not thefsset.volumesCreated: |
24 |
thefsset.createLogicalVolumes(instPath) |
25 |
thefsset.formatSwap(instPath) |