39 |
|
|
40 |
def findRootParts(intf, id, dispatch, dir, chroot): |
def findRootParts(intf, id, dispatch, dir, chroot): |
41 |
|
|
42 |
|
w = intf.waitWindow(_("Converting to RAID"), |
43 |
|
_("Converting to RAID, this may take several minutes...")) |
44 |
|
|
45 |
# XXX - FIXME - HACK RAID upgrade |
# XXX - FIXME - HACK RAID upgrade |
46 |
# rc = iutil.execWithRedirect("/tmp/updates/raidconvert", |
|
47 |
# ["raidconvert"], |
rc = iutil.execWithRedirect("/tmp/updates/raidconvert", |
48 |
# stdin = None, |
["raidconvert"], |
49 |
# stdout = "/dev/tty5", |
stdin = None, |
50 |
# stderr = "/dev/tty5") |
stdout = "/dev/tty5", |
51 |
# if rc: |
stderr = "/dev/tty5") |
52 |
# raise SystemError |
w.pop() |
53 |
|
|
54 |
|
if rc: |
55 |
|
raise SystemError |
56 |
|
|
57 |
if dir == DISPATCH_BACK: |
if dir == DISPATCH_BACK: |
58 |
return |
return |