summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-04-16 00:17:20 +0200
committerHans de Goede <hdegoede@redhat.com>2009-04-16 00:17:20 +0200
commit71466837dac557eea1fad9b4cddb6a428719cf50 (patch)
tree8136a008daf5641138692e4c25a5d60a28d5d6cd /upgrade.py
parent5fb5ab8d77581ac9d271a9ed606a5649645c3d5a (diff)
downloadanaconda-71466837dac557eea1fad9b4cddb6a428719cf50.tar.gz
anaconda-71466837dac557eea1fad9b4cddb6a428719cf50.tar.xz
anaconda-71466837dac557eea1fad9b4cddb6a428719cf50.zip
Use size instead of currentSize when comparing lv sizes
parted and lvm have a different idea of the exact size of an LV, so when using currentSize to see if we need to resize, we will always create a ResizeAction, which will later on fail as "lvm lvresize" returns an error status if the requested resize is a nop. So use size instead, this is safe as we never change the size of existing lv's. This fixes a traceback with a lvmresize exception when trying to use an existing LV during install without changing its size.
Diffstat (limited to 'upgrade.py')
0 files changed, 0 insertions, 0 deletions