138 |
return -1 |
return -1 |
139 |
|
|
140 |
if flags.setupFilesystems: |
if flags.setupFilesystems: |
141 |
|
oldfsset.checkFilesystems(instPath) |
142 |
oldfsset.mountFilesystems(instPath, readOnly = readOnly) |
oldfsset.mountFilesystems(instPath, readOnly = readOnly) |
143 |
|
|
144 |
# XXX we should properly support 'auto' at some point |
# XXX we should properly support 'auto' at some point |
534 |
val = rpm.labelCompare(('21', '6.0', '11'), |
val = rpm.labelCompare(('21', '6.0', '11'), |
535 |
(epoch, h[rpm.RPMTAG_VERSION], |
(epoch, h[rpm.RPMTAG_VERSION], |
536 |
h[rpm.RPMTAG_RELEASE])) |
h[rpm.RPMTAG_RELEASE])) |
|
log("epoch: %s, version: %s, release: %s, val: %s", h[rpm.RPMTAG_EPOCH], h[rpm.RPMTAG_VERSION], h[rpm.RPMTAG_RELEASE], val) |
|
537 |
if val > 0: |
if val > 0: |
538 |
supportedUpgradeVersion = 0 |
supportedUpgradeVersion = 0 |
539 |
else: |
else: |