diff options
author | Roman Rakus <rrakus@redhat.com> | 2013-01-17 16:20:18 +0100 |
---|---|---|
committer | Roman Rakus <rrakus@redhat.com> | 2013-01-17 16:21:34 +0100 |
commit | 279079f4307ea2a5c4cfc6c849a4ba4ea761d0ad (patch) | |
tree | ca57bf55bef9b29d2c5ecf41b59584d136095c4a /src | |
parent | 5422c49f7f1d99263c5fa522774b6a5fd33bd528 (diff) | |
download | openlmi-providers-279079f4307ea2a5c4cfc6c849a4ba4ea761d0ad.tar.gz openlmi-providers-279079f4307ea2a5c4cfc6c849a4ba4ea761d0ad.tar.xz openlmi-providers-279079f4307ea2a5c4cfc6c849a4ba4ea761d0ad.zip |
Account: add wrapper script to enable setting proper selinux context0.0.17
Signed-off-by: Roman Rakus <rrakus@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/account/CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/account/cmpiLMI_Account-cimprovagt | 23 |
2 files changed, 25 insertions, 1 deletions
diff --git a/src/account/CMakeLists.txt b/src/account/CMakeLists.txt index 2c1d817..776ce87 100644 --- a/src/account/CMakeLists.txt +++ b/src/account/CMakeLists.txt @@ -2,6 +2,7 @@ set(PROVIDER_NAME Account) set(LIBRARY_NAME cmpiLMI_${PROVIDER_NAME}) set(MOF LMI_Account.mof) +set(ACCOUNT_SCRIPT cmpiLMI_${PROVIDER_NAME}-cimprovagt) set(provider_SRCS aux_lu.c @@ -44,4 +45,4 @@ target_link_libraries(${LIBRARY_NAME} openlmicommon ${KONKRETCMPI_LIBRARIES} ${L cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/openlmi-providers) install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi/) - +install(PROGRAMS ${ACCOUNT_SCRIPT} DESTINATION libexec/pegasus) diff --git a/src/account/cmpiLMI_Account-cimprovagt b/src/account/cmpiLMI_Account-cimprovagt new file mode 100644 index 0000000..b31d665 --- /dev/null +++ b/src/account/cmpiLMI_Account-cimprovagt @@ -0,0 +1,23 @@ +#!/bin/sh +# +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# +# Authors: Roman Rakus <rnovacek@redhat.com> +# + + +/usr/libexec/pegasus/cimprovagt "$@" |