tool changes to honor configure --prefix=DIR
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest28 patches 17 repliesIn review
- v428 patches 44 repliesSuperseded
- v30 of 45 patches 0 repliesSuperseded
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/28 | tools: fix make uninstallMakefile tools/ | +9 | 1 reply | |
| 2/28 | tools/hotplug: fix race during xen.conf creationtools/ | +2 | 1 reply | |
| 3/28 | tools/python: use also LDFLAGS for buildtools/ | +2 | 0 replies | |
| 4/28 | Add configure --with-initddir=DIRConfig.mk config/ docs/ +1 more | +24 | 0 replies | |
| 5/28 | tools/hotplug: use XEN_SCRIPT_DIR instead of hardcoded path.gitignore config/ config/ +8 more | +26 | 0 replies | |
| 6/28 | tools/configure.ac: sort AC_CONFIG_FILEStools/ | +6 | 0 replies | |
| 7/28 | tools/hotplug: use INITD_DIR instead of CONFIG_DIR/init.d|rc.dtools/ tools/ | +5 | 0 replies | |
| 8/28 | tools/hotplug: substitute XEN_SCRIPT_DIR on FreeBSD.gitignore tools/ tools/ +1 more | +3 | 0 replies | |
| 9/28 | remove duplicate variables from configConfig.mk config/ config/ +4 more | +14 | 0 replies | |
| 10/28 | Substitue configure variables in Paths.mk.inconfig/ | +17 | 0 replies | |
| 11/28 | tools: substitute bindir instead of BINDIRconfig/ m4/ m4/ +4 more | +18 | 0 replies | |
| 12/28 | Use configure --mandir=DIR to set MANDIRConfig.mk config/ config/ +1 more | +3 | 0 replies | |
| 13/28 | Use configure --docdir=DIR to set DOCDIRConfig.mk config/ | +1 | 0 replies | |
| 14/28 | Use configure --includedir=DIR to set INCLUDEDIRconfig/ config/ config/ | +1 | 0 replies | |
| 15/28 | Use configure --libexecdir=BASEDIR to set LIBEXECConfig.mk config/ m4/ +27 more | +73 | 3 replies | |
| 16/28 | Use configure --prefix=DIR to set PREFIXconfig/ config/ | +0 | 0 replies | |
| 17/28 | Use configure --localstatedir=BASEDIR to set path to /varm4/ tools/ | +17 | 0 replies | |
| 18/28 | Add configure --enable-rpathConfig.mk config/ tools/ +1 more | +19 | 0 replies | |
| 19/28 | Add configure --with-linux-backend-modules="mod1 mod2"README config/ config/ +5 more | +49 | 0 replies | |
| 20/28 | Move variable to set bash_completion.d to Paths.mkConfig.mk config/ | +1 | 0 replies | |
| 21/28 | Add configure --with-sysconfig-leaf-dir=SUBDIR to set CONFIG_LEAF_DIRConfig.mk config/ config/ +3 more | +16 | 0 replies | |
| 22/28 | Make XENFIRMWAREDIR a subdir of libexecdirconfig/ m4/ | +1 | 0 replies | |
| 23/28 | tools: remove private copies of includedir and libdir from libxenstattools/ | +0 | 0 replies | |
| 24/28 | Use Paths.mk for docs, stubdom and tools buildconfig/ config/ config/ +2 more | +5 | 0 replies | |
| 25/28 | tools: use XEN_LIB_STORED instead of /var/lib/xenstoredtools/ tools/ tools/ +4 more | +9 | 0 replies | |
| 26/28 | tools/hotplug: Use XEN_RUN_DIR instead of /var/run/xenm4/ tools/ | +1 | 0 replies | |
| 27/28 | move vtpmmgr helpers from tools to stubdomconfig/ config/ stubdom/ +4 more | +5 | 1 reply | |
| 28/28 | Separate runtime debug output from debug symbolsstubdom/ tools/ tools/ +1 more | +14 | 15 replies |
Reviews trailers per patch
27 of 28 patches have a Reviewed-by or Acked-by.
| Patch | Ian Campbell | Roger Pau Monné | Konrad Rzeszutek Wilk | Daniel De Graaf | Jan Beulich |
|---|---|---|---|---|---|
| Series | Released-Acked-by | ||||
| 1/28 | A-b | ||||
| 2/28 | A-b | ||||
| 3/28 | A-b | ||||
| 4/28 | A-b | ||||
| 5/28 | A-b | ||||
| 6/28 | A-b | ||||
| 7/28 | A-b | A-b | |||
| 8/28 | A-b | A-b | |||
| 9/28 | A-b | ||||
| 10/28 | A-b | ||||
| 11/28 | Akced-by | ||||
| 12/28 | A-b | ||||
| 13/28 | A-b | ||||
| 14/28 | A-b | ||||
| 15/28 | A-b | ||||
| 16/28 | A-b | ||||
| 17/28 | A-b | ||||
| 18/28 | A-b | ||||
| 19/28 | A-b | ||||
| 20/28 | A-b | ||||
| 21/28 | A-b | ||||
| 22/28 | A-b | ||||
| 23/28 | A-b | ||||
| 24/28 | A-b | ||||
| 25/28 | A-b | ||||
| 26/28 | A-b | ||||
| 27/28 | A-b | A-b | |||
| 28/28 | Release-Acked-by R-b Release-Acked-by R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH 00/28 v5 for-xen-4.5] tool changes to honor configure --prefix=DIR
Konrad, you are in CC because I would like to see this in 4.5-rc1.
In my attempt to get a xen.rpm from 'make rpmball' which operates entirely below the configured --prefix= I came up with these changes.
This is a resend of the remaining parts of this series with the comments incorporated:
http://lists.xenproject.org/archives/html/xen-devel/2014-09/msg03003.html
http://lists.xenproject.org/archives/html/xen-devel/2014-09/msg03981.html
In v5 of this series the --libexec patch was updated to also remove PRIVATE_PREFIX and PRIVATE_BINDIR from paths.m4, and it does not remove $(LIBDIR)/xen/ anymore - just $(LIBEXEC). The patch to "separate runtime debug info" is the simplified version.
With this series its now possible to run everything except pygrub below the configured --prefix=.
NOTE: the renaming of tools/hotplug/Linux/init.d/xencommons.in may cause trouble in configured working copies. Use 'git clean -dfx' to wipe all and everything before git pull.
One outstanding bug is pygrub, which does not know about $prefix/$lib/python/site-packages. This is still on my todo list.
Please rerun autogen.sh after applying this series.
Olaf
Olaf Hering (28):
tools: fix make uninstall
tools/hotplug: fix race during xen.conf creation tools/python: use also LDFLAGS for build
Add configure --with-initddir=DIR
tools/hotplug: use XEN_SCRIPT_DIR instead of hardcoded path tools/configure.ac: sort AC_CONFIG_FILES
tools/hotplug: use INITD_DIR instead of CONFIG_DIR/init.d|rc.d tools/hotplug: substitute XEN_SCRIPT_DIR on FreeBSD
remove duplicate variables from config
Substitue configure variables in Paths.mk.in
tools: substitute bindir instead of BINDIR
Use configure --mandir=DIR to set MANDIR
Use configure --docdir=DIR to set DOCDIR
Use configure --includedir=DIR to set INCLUDEDIR
Use configure --libexecdir=BASEDIR to set LIBEXEC
Use configure --prefix=DIR to set PREFIX
Use configure --localstatedir=BASEDIR to set path to /var Add configure --enable-rpath
Add configure --with-linux-backend-modules="mod1 mod2" Move variable to set bash_completion.d to Paths.mk
Add configure --with-sysconfig-leaf-dir=SUBDIR to set CONFIG_LEAF_DIR Make XENFIRMWAREDIR a subdir of libexecdir
tools: remove private copies of includedir and libdir from libxenstat Use Paths.mk for docs, stubdom and tools build
tools: use XEN_LIB_STORED instead of /var/lib/xenstored tools/hotplug: Use XEN_RUN_DIR instead of /var/run/xen move vtpmmgr helpers from tools to stubdom
Separate runtime debug output from debug symbols
.gitignore | 7 ++
Config.mk | 14 +--
Makefile | 12 ---
README | 12 ---
config/Docs.mk.in | 7 +-
config/Linux.mk | 2 +
config/Linux.modules | 20 ----
config/NetBSD.mk | 5 -
config/NetBSDRump.mk | 2 -
config/Paths.mk.in | 44 +++++++--
config/StdGNU.mk | 23 -----
config/Stubdom.mk.in | 7 --
config/SunOS.mk | 15 ---
config/Tools.mk.in | 13 +--
docs/misc/distro_mapping.txt | 5 +-
m4/paths.m4 | 101 ++++++++++++++-------
m4/xenstored.m4 | 8 +-
stubdom/Makefile | 9 +-
stubdom/vtpmmgr/Makefile | 5 +
{tools => stubdom}/vtpmmgr/calc.pl | 0
{tools => stubdom}/vtpmmgr/manage-vtpmmgr.pl | 0
tools/Makefile | 46 ++++++++--
tools/Rules.mk | 1 -
tools/configure.ac | 53 +++++++++--
tools/console/Makefile | 4 +-
tools/hotplug/FreeBSD/Makefile | 5 +-
.../FreeBSD/rc.d/{xencommons => xencommons.in} | 6 +-
tools/hotplug/FreeBSD/vif-bridge | 2 +-
tools/hotplug/Linux/Makefile | 18 ++--
tools/hotplug/Linux/init.d/sysconfig.xencommons.in | 10 +-
.../Linux/init.d/{xen-watchdog => xen-watchdog.in} | 2 +-
.../init.d/{xencommons.in.in => xencommons.in} | 13 ++-
.../Linux/init.d/{xendomains => xendomains.in} | 14 +--
tools/hotplug/Linux/systemd/Makefile | 37 ++------
.../systemd/xen-qemu-dom0-disk-backend.service.in | 4 +-
.../hotplug/Linux/systemd/xen-watchdog.service.in | 2 +-
tools/hotplug/Linux/systemd/xenconsoled.service.in | 2 +-
tools/hotplug/Linux/systemd/xendomains.service.in | 6 +-
tools/hotplug/Linux/systemd/xenstored.service.in | 4 +-
tools/hotplug/Linux/update-modules.sh | 36 --------
tools/hotplug/Linux/{vif-setup => vif-setup.in} | 2 +-
.../{xen-backend.rules => xen-backend.rules.in} | 16 ++--
...-hotplug-common.sh => xen-hotplug-common.sh.in} | 4 +-
tools/hotplug/Linux/{xendomains => xendomains.in} | 2 +-
tools/hotplug/NetBSD/Makefile | 6 +-
tools/hotplug/NetBSD/block | 2 +-
.../NetBSD/rc.d/{xencommons => xencommons.in} | 4 +-
tools/hotplug/NetBSD/vif-bridge | 2 +-
tools/hotplug/NetBSD/vif-ip | 2 +-
tools/libxl/Makefile | 6 +-
tools/libxl/libxl_dm.c | 4 +-
tools/libxl/libxl_internal.h | 1 -
tools/libxl/libxl_paths.c | 7 +-
tools/libxl/libxl_save_callout.c | 2 +-
tools/misc/Makefile | 4 +-
tools/ocaml/common.make | 5 +-
tools/pygrub/Makefile | 8 +-
tools/python/Makefile | 4 +-
tools/vtpmmgr/Makefile | 15 ---
tools/xcutils/Makefile | 4 +-
tools/xenpaging/Makefile | 4 +-
tools/xenstat/libxenstat/Makefile | 4 -
tools/xenstore/Makefile | 3 +-
tools/xenstore/xs_lib.c | 2 +-
tools/xentrace/Makefile | 4 +-
xen/Rules.mk | 3 +-
66 files changed, 322 insertions(+), 374 deletions(-)
delete mode 100644 config/Linux.modules
rename {tools => stubdom}/vtpmmgr/calc.pl (100%)
rename {tools => stubdom}/vtpmmgr/manage-vtpmmgr.pl (100%)
rename tools/hotplug/FreeBSD/rc.d/{xencommons => xencommons.in} (96%)
rename tools/hotplug/Linux/init.d/{xen-watchdog => xen-watchdog.in} (97%)
rename tools/hotplug/Linux/init.d/{xencommons.in.in => xencommons.in} (91%)
rename tools/hotplug/Linux/init.d/{xendomains => xendomains.in} (79%)
delete mode 100755 tools/hotplug/Linux/update-modules.sh
rename tools/hotplug/Linux/{vif-setup => vif-setup.in} (61%)
rename tools/hotplug/Linux/{xen-backend.rules => xen-backend.rules.in} (62%)
rename tools/hotplug/Linux/{xen-hotplug-common.sh => xen-hotplug-common.sh.in} (94%)
rename tools/hotplug/Linux/{xendomains => xendomains.in} (99%)
rename tools/hotplug/NetBSD/rc.d/{xencommons => xencommons.in} (97%)
delete mode 100644 tools/vtpmmgr/Makefile