From 16a7166cba8a6ac2ae11f7dbc61dde9eb6177cd8 Mon Sep 17 00:00:00 2001 From: Peter Schiffer Date: Tue, 16 Jul 2013 16:43:58 +0200 Subject: Hardware: Package the cmpiLMI_Hardware-cimprovagt file Added and packaged the cmpiLMI_Hardware-cimprovagt file for hardware provider. --- src/hardware/CMakeLists.txt | 2 ++ src/hardware/cmpiLMI_Hardware-cimprovagt | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100755 src/hardware/cmpiLMI_Hardware-cimprovagt (limited to 'src/hardware') diff --git a/src/hardware/CMakeLists.txt b/src/hardware/CMakeLists.txt index a972682..ad680ad 100644 --- a/src/hardware/CMakeLists.txt +++ b/src/hardware/CMakeLists.txt @@ -1,6 +1,7 @@ set(PROVIDER_NAME Hardware) set(LIBRARY_NAME cmpiLMI_${PROVIDER_NAME}) set(MOF 60_LMI_Hardware.mof) +set(CIMPROVAGT_SCRIPT cmpiLMI_${PROVIDER_NAME}-cimprovagt) set(provider_SRCS utils.c @@ -30,3 +31,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 ${CIMPROVAGT_SCRIPT} DESTINATION libexec/pegasus) diff --git a/src/hardware/cmpiLMI_Hardware-cimprovagt b/src/hardware/cmpiLMI_Hardware-cimprovagt new file mode 100755 index 0000000..88ef77d --- /dev/null +++ b/src/hardware/cmpiLMI_Hardware-cimprovagt @@ -0,0 +1,21 @@ +#!/bin/sh +# +# Copyright (C) 2013 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: Peter Schiffer + +/usr/libexec/pegasus/cimprovagt "$@" -- cgit