Juan Hernandez has submitted this change and it was merged.
Change subject: packaging: Change to / before starting upgrade
......................................................................
packaging: Change to / before starting upgrade
If the upgrade runs for a directory that is deleted by the upgrade
itself (anything under /usr/share/rhevm, for example) some tools will
(the JVM, for example) fail because they don't find their current
working directory. In order to prevent that this patch modifies the
upgrade script so that it changes to the root directory before doing
anything.
Change-Id: I5bca7f93fe29e97d17dcc668a0d73306600764cb
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M packaging/fedora/setup/engine-cleanup.py
M packaging/fedora/setup/engine-upgrade.py
2 files changed, 8 insertions(+), 0 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/11172
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5bca7f93fe29e97d17dcc668a0d73306600764cb
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie(a)redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib(a)redhat.com>