summaryrefslogtreecommitdiffstats
path: root/Makefile.Release
diff options
context:
space:
mode:
authorkumpf <kumpf>2005-07-15 23:02:19 +0000
committerkumpf <kumpf>2005-07-15 23:02:19 +0000
commitae7ba2a963aad0bc088cf3d1acf55ab59a7018a4 (patch)
tree05f58cb876c80c1eafa144c7e030eba496751be4 /Makefile.Release
parente6a51432bbdd6bb1a137415dc030616f6e4a7b01 (diff)
downloadtog-pegasus-ae7ba2a963aad0bc088cf3d1acf55ab59a7018a4.zip
tog-pegasus-ae7ba2a963aad0bc088cf3d1acf55ab59a7018a4.tar.gz
tog-pegasus-ae7ba2a963aad0bc088cf3d1acf55ab59a7018a4.tar.xz
BUG#: 3914
TITLE: Need a trace file directory DESCRIPTION: Add a dedicated trace file directory for Linux and HP-UX release builds. Update the tracer to check that the trace file is a regular file (and not a link) before writing to it. Update the Linux packaging to create the trace directory on installation.
Diffstat (limited to 'Makefile.Release')
-rw-r--r--Makefile.Release5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.Release b/Makefile.Release
index dac1d1a..f2cadd8 100644
--- a/Makefile.Release
+++ b/Makefile.Release
@@ -984,12 +984,15 @@ _append_filesSectionToSpecFile: FORCE
@$(ECHO-E) "%files" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(foreach i, $(PRODUCT_DIRECTORY_STRUCTURE), if [ $(i) != $(PEGASUS_LOCAL_DOMAIN_SOCKET_DIR) ]; then \
if [ $(i) != $(PEGASUS_REPOSITORY_DIR) ]; then \
- $(ECHO-E) "%dir %attr($(Pr_xr_xr_x),$(INSTALL_USR),$(INSTALL_GRP)) $(i)" >> $(PEGASUS_RPM_SPEC_FILE_PATH); fi; fi;)
+ if [ $(i) != $(PEGASUS_TRACE_DIR) ]; then \
+ $(ECHO-E) "%dir %attr($(Pr_xr_xr_x),$(INSTALL_USR),$(INSTALL_GRP)) $(i)" >> $(PEGASUS_RPM_SPEC_FILE_PATH); fi; fi; fi;)
@$(ECHO-E) "%dir %attr(1555,$(CIMSERVER_USR),$(CIMSERVER_GRP)) $(PEGASUS_LOCAL_DOMAIN_SOCKET_DIR)" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "%dir %attr($(Pr_xr_xr_x),$(INSTALL_USR),$(INSTALL_GRP)) $(PEGASUS_MOF_DIR)/$(PEGASUS_CIM_SCHEMA)" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "%dir %attr($(Pr_xr_xr_x),$(INSTALL_USR),$(INSTALL_GRP)) $(PEGASUS_MOF_DIR)/Pegasus" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) "%dir %attr($(Prwxrwxrwt),$(INSTALL_USR),$(INSTALL_GRP)) $(PEGASUS_TRACE_DIR)" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
+ @$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "%attr(-,$(CIMSERVER_USR),$(CIMSERVER_GRP)) $(PEGASUS_REPOSITORY_DIR)" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(ECHO-E) "" >> $(PEGASUS_RPM_SPEC_FILE_PATH)
@$(foreach i, $(PEGASUS_LICENSE), \