Alon Bar-Lev has uploaded a new change for review. Change subject: packaging: spec: clean old index files ......................................................................
packaging: spec: clean old index files ovirt-engine<=3.2 created files at /usr, among other are the jboss index files. these files must be removed or application will not start after upgrade, as jboss makes assumptions. Change-Id: Ifdd78cc9884035992a43eca3a7d5ca27d63a2b18 Signed-off-by: Alon Bar-Lev <alo...@redhat.com> --- M ovirt-engine.spec.in 1 file changed, 6 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/42/16542/1 diff --git a/ovirt-engine.spec.in b/ovirt-engine.spec.in index 31c2379..65416f5 100644 --- a/ovirt-engine.spec.in +++ b/ovirt-engine.spec.in @@ -559,6 +559,12 @@ %post backend + +# ovirt-engine<=3.2 created files at /usr among +# others are the jboss index files. +# we must remove these or application will not start. +find "%{engine_data}" -name '*.index' -exec rm "{}" \; + %if %{install_systemd} %systemd_post ovirt-engine.service -- To view, visit http://gerrit.ovirt.org/16542 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifdd78cc9884035992a43eca3a7d5ca27d63a2b18 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches