Alon Bar-Lev has uploaded a new change for review.

Change subject: core: use wrapper instead of executor for setup
......................................................................

core: use wrapper instead of executor for setup

older engine uses setup entry point which should refer to the
ovirt-host-deploy executor.

Change-Id: Ib960e4cb14525fe5eec3bf0b169480f101fee715
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M src/interface-3/Makefile.am
A src/interface-3/setup
2 files changed, 6 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy 
refs/changes/27/40027/1

diff --git a/src/interface-3/Makefile.am b/src/interface-3/Makefile.am
index cb2d700..e55cbb4 100644
--- a/src/interface-3/Makefile.am
+++ b/src/interface-3/Makefile.am
@@ -21,6 +21,10 @@
        $(srcdir)/Makefile.in \
        $(NULL)
 
+ovirthostdeployinterface_SCRIPTS = \
+       setup \
+       $(NULL)
+
 install-data-hook:
        $(SHELL) "$(OTOPI_BUNDLE)"  \
                --gettext-domain="$(PACKAGE_NAME)" \
@@ -33,8 +37,6 @@
        $(LN_SR) "$(DESTDIR)$(ovirthostdeploylibdir)" 
"$(DESTDIR)$(ovirthostdeployinterfacedir)/pythonlib/ovirt_host_deploy"
        rm -f 
"$(DESTDIR)$(ovirthostdeployinterfacedir)/otopi-plugins/ovirt-host-deploy"
        $(LN_SR) "$(DESTDIR)$(ovirthostdeployplugindir)/ovirt-host-deploy" 
"$(DESTDIR)$(ovirthostdeployinterfacedir)/otopi-plugins/ovirt-host-deploy"
-       rm -f "$(DESTDIR)$(ovirthostdeployinterfacedir)/setup"
-       ln -s ovirt-host-deploy "$(DESTDIR)$(ovirthostdeployinterfacedir)/setup"
 
 uninstall-hook:
        rm -f "$(DESTDIR)$(ovirthostdeployinterfacedir)/.bundled"
diff --git a/src/interface-3/setup b/src/interface-3/setup
new file mode 100755
index 0000000..25ad7ce
--- /dev/null
+++ b/src/interface-3/setup
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec "$(dirname "$0")/ovirt-host-deploy"


-- 
To view, visit https://gerrit.ovirt.org/40027
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib960e4cb14525fe5eec3bf0b169480f101fee715
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-host-deploy
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to