Alon Bar-Lev has uploaded a new change for review. Change subject: packaging: add gwt symbols packages ......................................................................
packaging: add gwt symbols packages two additional packages: * ovirt-engine-userportal-debuginfo * ovirt-engine-webadmin-portal-debuginfo these packages contain the gwt symbols required to interpret stack trace. separate packages as these files are huge and in most cases are not required. also if we add a feature to decipher stack trace on the fly, we can ask a customer to install these packages so they will be available for engine. Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1179862 Change-Id: I0c5fe0de24a83e2ce49c27f6ac4387d96256ca18 Signed-off-by: Alon Bar-Lev <alo...@redhat.com> --- M Makefile M ovirt-engine.spec.in 2 files changed, 36 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/02/36702/1 diff --git a/Makefile b/Makefile index cd1347a..3738831 100644 --- a/Makefile +++ b/Makefile @@ -434,8 +434,21 @@ EXCLUDE_GEN="$(GENERATED)" \ EXCLUDE="$$(echo $$(find packaging/dbscripts \( -name '*.scripts.md5' -or -name '*.schema' -or -name '*.log' \)))" +install-gwt-symbols: + install -d -m 0755 "$(DESTDIR)$(DATA_DIR)/gwt-symbols/userportal" + f=frontend/webadmin/modules/userportal-gwtp/target/generated-gwt/WEB-INF/deploy/userportal/symbolMaps; \ + if [ -e "$${f}" ]; then \ + install -m 0644 "$${f}"/*.symbolMap "$(DESTDIR)$(DATA_DIR)/gwt-symbols/userportal"; \ + fi + install -d -m 0755 "$(DESTDIR)$(DATA_DIR)/gwt-symbols/webadmin" + f=frontend/webadmin/modules/webadmin/target/generated-gwt/WEB-INF/deploy/webadmin/symbolMaps; \ + if [ -e "$${f}" ]; then \ + install -m 0644 "$${f}"/*.symbolMap "$(DESTDIR)$(DATA_DIR)/gwt-symbols/webadmin"; \ + fi + install-layout: \ install-packaging-files \ + install-gwt-symbols \ $(NULL) install -d -m 755 "$(DESTDIR)$(BIN_DIR)" diff --git a/ovirt-engine.spec.in b/ovirt-engine.spec.in index d3cca4a..49fc352 100644 --- a/ovirt-engine.spec.in +++ b/ovirt-engine.spec.in @@ -446,6 +446,13 @@ %description userportal The user portal interface to %{ovirt_product_name_short} +%package userportal-debuginfo +Summary: Debug information for User Portal of %{ovirt_product_name_short} +Group: %{ovirt_product_group} + +%description userportal-debuginfo +Debug information for the user portal interface to %{ovirt_product_name_short} + %package webadmin-portal Summary: Web Admin Portal of %{ovirt_product_name_short} Group: %{ovirt_product_group} @@ -453,6 +460,13 @@ %description webadmin-portal The web administration interface to %{ovirt_product_name_short} + +%package webadmin-portal-debuginfo +Summary: Debug information for Web Admin Portal of %{ovirt_product_name_short} +Group: %{ovirt_product_group} + +%description webadmin-portal-debuginfo +Debug information for the web administration interface to %{ovirt_product_name_short} %package tools Summary: %{ovirt_product_name_short} Tools @@ -914,6 +928,7 @@ %config %{_sysconfdir}/logrotate.d/ovirt-engine %dir %attr(-, %{engine_user}, %{engine_group}) %{engine_state} %dir %{engine_data}/bin +%dir %{engine_data}/gwt-symbols %dir %{engine_data}/ui-plugins %dir %{engine_ear} %{engine_data}/conf/osinfo-defaults.properties @@ -1047,10 +1062,18 @@ %config %{engine_etc}/usbfilter.txt %{engine_ear}/userportal.war +%files userportal-debuginfo + +%{engine_data}/gwt-symbols/userportal/ + %files webadmin-portal %{engine_ear}/webadmin.war +%files webadmin-portal-debuginfo + +%{engine_data}/gwt-symbols/webadmin/ + %files websocket-proxy %{engine_data}/services/ovirt-websocket-proxy -- To view, visit http://gerrit.ovirt.org/36702 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0c5fe0de24a83e2ce49c27f6ac4387d96256ca18 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.5 Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches