Change in ovirt-engine[master]: packaging: Find and check JVM during setup (#834436)

juan.hernandez at redhat.com juan.hernandez at redhat.com
Sun Sep 2 20:09:08 UTC 2012


Juan Hernandez has submitted this change and it was merged.

Change subject: packaging: Find and check JVM during setup (#834436)
......................................................................


packaging: Find and check JVM during setup (#834436)

https://bugzilla.redhat.com/834436

We used to have a hardcoded setting in the engine.conf.defaults file for
the location of the Java virtual machine. This patch changes the
engine-setup tool so that it will try to find a suitable JVM (suitable
means OpenJDK 1.7 at the moment) automatically. The location of the JVM
will then be written to the JAVA_HOME configuration parameter in the
/etc/sysconfig/ovirt-engine  file.

Change-Id: Ib279ea8111825ec35a25f9ba6ee37b481ed4354f
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M packaging/fedora/setup/basedefs.py
M packaging/fedora/setup/common_utils.py
M packaging/fedora/setup/engine-setup.py
M packaging/fedora/setup/output_messages.py
4 files changed, 133 insertions(+), 2 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/7549
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib279ea8111825ec35a25f9ba6ee37b481ed4354f
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Moran Goldboim <mgoldboi at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list