isys.total_memory() returns memory size in kB, while isys.MIN_RAM and isys.MIN_GUI_RAM are in MB.
Resolves: rhbz#1267673
From: Jan Stodola jstodola@redhat.com
isys.total_memory() returns memory size in kB, while isys.MIN_RAM and isys.MIN_GUI_RAM are in MB.
Resolves: rhbz#1267673 --- anaconda | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/anaconda b/anaconda index cb95b9e..6e392fd 100755 --- a/anaconda +++ b/anaconda @@ -460,7 +460,7 @@ def check_memory(anaconda, options, display_mode=None): display_mode = anaconda.displayMode
reason = reason_strict - total_ram = int(isys.total_memory()) + total_ram = int(isys.total_memory() / 1024) needed_ram = int(isys.MIN_RAM) graphical_ram = int(isys.MIN_GUI_RAM)
Ooops, looks good to me.
Added label: ACK.
Added label: rhel7-branch.
Added label: master.
This would apply to master too. Of course, we can't push to rhel7-branch right now because it's not a blocker.
Pushed to master. I'll make sure it gets to the rhel7-branch at the right time.
Closed.
anaconda-patches@lists.fedorahosted.org