mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
1 parent
d7f64ff4e0
commit
7d82f09765
7 files changed
+19
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -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@
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Vendored
+4
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Vendored
+4
@@ -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
|
||||
|
||||
|
||||
|
||||