39 |
|
|
40 |
def findRootParts(intf, id, dispatch, dir, chroot): |
def findRootParts(intf, id, dispatch, dir, chroot): |
41 |
|
|
42 |
# XXX - FIXME - HACK RAID upgrade |
# w = intf.waitWindow(_("Converting to RAID"), |
43 |
rc = iutil.execWithRedirect("/tmp/updates/raidconvert", |
# _("Converting to RAID, this may take several minutes...")) |
44 |
["raidconvert"], |
# |
45 |
stdin = None, |
# # XXX - FIXME - HACK RAID upgrade |
46 |
stdout = "/dev/tty5", |
# |
47 |
stderr = "/dev/tty5") |
# rc = iutil.execWithRedirect("/tmp/updates/raidconvert", |
48 |
if rc: |
# ["raidconvert"], |
49 |
raise SystemError |
# stdin = None, |
50 |
|
# stdout = "/dev/tty5", |
51 |
|
# stderr = "/dev/tty5") |
52 |
|
# w.pop() |
53 |
|
# |
54 |
|
# if rc: |
55 |
|
# raise SystemError |
56 |
|
|
57 |
if dir == DISPATCH_BACK: |
if dir == DISPATCH_BACK: |
58 |
return |
return |
449 |
"installed arch of %s. This is likely " |
"installed arch of %s. This is likely " |
450 |
"to not succeed. Are you sure you " |
"to not succeed. Are you sure you " |
451 |
"wish to continue the upgrade process?") |
"wish to continue the upgrade process?") |
452 |
%(productName, h[rpm.RPMTAG_ARCH], |
%(productName, myarch, |
453 |
myarch), |
h[rpm.RPMTAG_ARCH]), |
454 |
type="yesno") |
type="yesno") |
455 |
if rc == 0: |
if rc == 0: |
456 |
try: |
try: |