During the postinstall and preuninstall phases various variables are
modified to build up the list of mofs to be installed. The generated
output had ".//usr/local/share/libvirt-cim/*" which caused issues finding
files. This is a followup to commit '22022870' which changed the paths using
to schema for each of the variables.
---
Makefile.am | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 0fdd8bb..b7ee230 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -206,21 +206,21 @@ preinstall:
# Un/Register the providers and class definitions from/to the current CIMOM.
# @CIMSERVER@ is set by the configure script
postinstall:
- sh provider-register.sh -v -t @CIMSERVER@ -n @CIM_VIRT_NS@ -r $(subst
schema,$(pkgdatadir), $(REGS)) -m $(subst schema,$(pkgdatadir), $(MOFS))
- sh provider-register.sh -v -t @CIMSERVER@ -n root/interop -r $(subst
schema,$(pkgdatadir), $(INTEROP_REGS)) -m $(subst schema,$(pkgdatadir), $(INTEROP_MOFS))
- sh provider-register.sh -v -t @CIMSERVER@ -n root/cimv2 -r $(subst schema,$(pkgdatadir),
$(CIMV2_REGS)) -m $(subst schema,$(pkgdatadir), $(CIMV2_MOFS))
+ sh provider-register.sh -v -t @CIMSERVER@ -n @CIM_VIRT_NS@ -r $(subst
$(top_srcdir)/schema,$(pkgdatadir), $(REGS)) -m $(subst
$(top_srcdir)/schema,$(pkgdatadir), $(MOFS))
+ sh provider-register.sh -v -t @CIMSERVER@ -n root/interop -r $(subst
$(top_srcdir)/schema,$(pkgdatadir), $(INTEROP_REGS)) -m $(subst
$(top_srcdir)/schema,$(pkgdatadir), $(INTEROP_MOFS))
+ sh provider-register.sh -v -t @CIMSERVER@ -n root/cimv2 -r $(subst
$(top_srcdir)/schema,$(pkgdatadir), $(CIMV2_REGS)) -m $(subst
$(top_srcdir)/schema,$(pkgdatadir), $(CIMV2_MOFS))
if [[ @CIMSERVER@ = pegasus ]]; then \
- sh provider-register.sh -v -t @CIMSERVER@ -n root/PG_InterOp -r $(subst
schema,$(pkgdatadir), $(PGINTEROP_REGS)) -m $(subst schema,$(pkgdatadir),
$(PGINTEROP_MOFS)); \
+ sh provider-register.sh -v -t @CIMSERVER@ -n root/PG_InterOp -r $(subst
$(top_srcdir)/schema,$(pkgdatadir), $(PGINTEROP_REGS)) -m $(subst
$(top_srcdir)/schema,$(pkgdatadir), $(PGINTEROP_MOFS)); \
fi
virsh -v | grep -q '^0.3' && cp examples/diskpool.conf
$(DISK_POOL_CONFIG) || true
mkdir -p $(INFO_STORE)
preuninstall:
- sh provider-register.sh -v -d -t @CIMSERVER@ -n @CIM_VIRT_NS@ -r $(subst
schema,$(pkgdatadir), $(REGS)) -m $(subst schema,$(pkgdatadir), $(MOFS))
- sh provider-register.sh -v -d -t @CIMSERVER@ -n root/interop -r $(subst
schema,$(pkgdatadir), $(INTEROP_REGS)) -m $(subst schema,$(pkgdatadir), $(INTEROP_MOFS))
- sh provider-register.sh -v -d -t @CIMSERVER@ -n root/cimv2 -r $(subst
schema,$(pkgdatadir), $(CIMV2_REGS)) -m $(subst schema,$(pkgdatadir), $(CIMV2_MOFS))
+ sh provider-register.sh -v -d -t @CIMSERVER@ -n @CIM_VIRT_NS@ -r $(subst
$(top_srcdir)/schema,$(pkgdatadir), $(REGS)) -m $(subst
$(top_srcdir)/schema,$(pkgdatadir), $(MOFS))
+ sh provider-register.sh -v -d -t @CIMSERVER@ -n root/interop -r $(subst
$(top_srcdir)/schema,$(pkgdatadir), $(INTEROP_REGS)) -m $(subst
$(top_srcdir)/schema,$(pkgdatadir), $(INTEROP_MOFS))
+ sh provider-register.sh -v -d -t @CIMSERVER@ -n root/cimv2 -r $(subst
$(top_srcdir)/schema,$(pkgdatadir), $(CIMV2_REGS)) -m $(subst
$(top_srcdir)/schema,$(pkgdatadir), $(CIMV2_MOFS))
if [[ @CIMSERVER@ = pegasus ]]; then \
- sh provider-register.sh -v -d -t @CIMSERVER@ -n root/PG_InterOp -r $(subst
schema,$(pkgdatadir), $(PGINTEROP_REGS)) -m $(subst schema,$(pkgdatadir),
$(PGINTEROP_MOFS)); \
+ sh provider-register.sh -v -d -t @CIMSERVER@ -n root/PG_InterOp -r $(subst
$(top_srcdir)/schema,$(pkgdatadir), $(PGINTEROP_REGS)) -m $(subst
$(top_srcdir)/schema,$(pkgdatadir), $(PGINTEROP_MOFS)); \
fi
rpm: clean
--
1.8.1.4