Sandro Bonazzola has uploaded a new change for review.

Change subject: packaging: fixed sudoers generation
......................................................................

packaging: fixed sudoers generation

sudoers is now generated at build time.

Bug-Url: https://bugzilla.redhat.com/1013563
Change-Id: I1e069cefbd55a4aa7a85abd48beded57846ce78f
Signed-off-by: Sandro Bonazzola <sbona...@redhat.com>
---
M sudoers/Makefile.am
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-hosted-engine-ha 
refs/changes/64/20164/1

diff --git a/sudoers/Makefile.am b/sudoers/Makefile.am
index a1941c5..2e37ce3 100644
--- a/sudoers/Makefile.am
+++ b/sudoers/Makefile.am
@@ -37,6 +37,11 @@
        sudoers.in \
        $(NULL)
 
+sudoers: sudoers.in
+       $(SED) \
+       -e 's|@SERVICE_PATH[@]|$(SERVICE_PATH)|g' \
+       -e 's|@VDSM_USER[@]|$(VDSM_USER)|g' < $< > $@
+
 clean-local: \
        $(NULL)
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1e069cefbd55a4aa7a85abd48beded57846ce78f
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbona...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to