build: introduce XEN_RUN_STORED

It defaults to /var/run/xenstored. It will be used later to remove some
hard-coded paths in tree. There should be no visible change to default
configuration.

Install and remove it in respective Makefile targets.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
This commit is contained in:
Wei Liu committed 2016-06-17 11:27:21 +01:00
1 parent d7f64ff4e0
commit 7d82f09765
7 files changed
+19 -1

No files matched your search

+1 -1
View File
@@ -182,7 +182,7 @@ endef
BUILD_MAKE_VARS := sbindir bindir LIBEXEC LIBEXEC_BIN libdir SHAREDIR \
XENFIRMWAREDIR XEN_CONFIG_DIR XEN_SCRIPT_DIR XEN_LOCK_DIR \
XEN_RUN_DIR XEN_PAGING_DIR XEN_DUMP_DIR XEN_LOG_DIR \
XEN_LIB_DIR
XEN_LIB_DIR XEN_RUN_STORED
buildmakevars2file = $(eval $(call buildmakevars2file-closure,$(1)))
define buildmakevars2file-closure
+1
View File
@@ -42,6 +42,7 @@ XEN_RUN_DIR := @XEN_RUN_DIR@
XEN_LOG_DIR := @XEN_LOG_DIR@
XEN_LIB_DIR := @XEN_LIB_DIR@
XEN_LIB_STORED := @XEN_LIB_STORED@
XEN_RUN_STORED := @XEN_RUN_STORED@
CONFIG_DIR := @CONFIG_DIR@
INITD_DIR := @INITD_DIR@
Vendored
+4
View File
@@ -604,6 +604,7 @@ INITD_DIR
CONFIG_DIR
SHAREDIR
XEN_LIB_DIR
XEN_RUN_STORED
XEN_LIB_STORED
XEN_LOG_DIR
XEN_RUN_DIR
@@ -1981,6 +1982,9 @@ XEN_LOG_DIR=$localstatedir/log/xen
XEN_LIB_STORED=$localstatedir/lib/xenstored
XEN_RUN_STORED=$localstatedir/run/xenstored
XEN_LIB_DIR=$localstatedir/lib/xen
+4
View File
@@ -603,6 +603,7 @@ INITD_DIR
CONFIG_DIR
SHAREDIR
XEN_LIB_DIR
XEN_RUN_STORED
XEN_LIB_STORED
XEN_LOG_DIR
XEN_RUN_DIR
@@ -1887,6 +1888,9 @@ XEN_LOG_DIR=$localstatedir/log/xen
XEN_LIB_STORED=$localstatedir/lib/xenstored
XEN_RUN_STORED=$localstatedir/run/xenstored
XEN_LIB_DIR=$localstatedir/lib/xen
+3
View File
@@ -107,6 +107,9 @@ AC_SUBST(XEN_LOG_DIR)
XEN_LIB_STORED=$localstatedir/lib/xenstored
AC_SUBST(XEN_LIB_STORED)
XEN_RUN_STORED=$localstatedir/run/xenstored
AC_SUBST(XEN_RUN_STORED)
XEN_LIB_DIR=$localstatedir/lib/xen
AC_SUBST(XEN_LIB_DIR)
+2
View File
@@ -64,6 +64,7 @@ install: subdirs-install
$(INSTALL_DIR) $(DESTDIR)$(XEN_LOG_DIR)
$(INSTALL_DIR) $(DESTDIR)$(XEN_RUN_DIR)
$(INSTALL_DIR) $(DESTDIR)$(XEN_LIB_DIR)
$(INSTALL_DIR) $(DESTDIR)$(XEN_RUN_STORED)
.PHONY: uninstall
uninstall: D=$(DESTDIR)
@@ -78,6 +79,7 @@ uninstall:
rm -f $(D)$(SYSCONFIG_DIR)/xencommons
rm -rf $(D)$(XEN_LIB_DIR)
rm -rf $(D)$(XEN_LIB_STORED)
rm -rf $(D)$(XEN_RUN_STORED)
rm -rf $(D)$(bindir)/cpuperf-perfcntr $(D)$(bindir)/cpuperf-xen
rm -rf $(D)$(bindir)/xc_shadow
rm -rf $(D)$(bindir)/pygrub
+4
View File
@@ -723,6 +723,7 @@ INITD_DIR
CONFIG_DIR
SHAREDIR
XEN_LIB_DIR
XEN_RUN_STORED
XEN_LIB_STORED
XEN_LOG_DIR
XEN_RUN_DIR
@@ -3940,6 +3941,9 @@ XEN_LOG_DIR=$localstatedir/log/xen
XEN_LIB_STORED=$localstatedir/lib/xenstored
XEN_RUN_STORED=$localstatedir/run/xenstored
XEN_LIB_DIR=$localstatedir/lib/xen
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.