[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 00/28 v4] tool changes to honor configure --prefix=DIR
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 In v4 of this series configure is updated to provide all paths: prefix, bindir, sbindir, libdir, libexecdir, datarootdir, mandir, docdir, dvidir, htmldir, pdfdir, psdir, includedir, localstatedir, sysconfdir These variables are used to feed the private variables used in the xen source tree. At some later point another patch may convert them all to the common automake variants. Additional options: with-initddir, with-linux-backend-modules, with-sysconfig-leaf-dir and enable-rpath. Removed options: --disable-debug, in favour of 'make debug=yn debug_symbols=yn'. Every path is now stored in config/Paths.mk. 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. Olaf Hering (28): Neutralize 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: 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" Put bash_completion.d below --sysconfdir=DIR 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 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 | 19 ++-- Makefile | 15 +-- 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 | 10 -- config/SunOS.mk | 15 --- config/Tools.mk.in | 17 ++-- docs/misc/distro_mapping.txt | 5 +- m4/paths.m4 | 103 +++++++++++++++------ m4/xenstored.m4 | 8 +- stubdom/Makefile | 7 +- stubdom/configure.ac | 1 - stubdom/vtpmmgr/Makefile | 5 + {tools => stubdom}/vtpmmgr/calc.pl | 0 {tools => stubdom}/vtpmmgr/manage-vtpmmgr.pl | 0 tools/Makefile | 36 +++++-- tools/Rules.mk | 1 - tools/configure.ac | 54 +++++++++-- 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/tests/vhpet/Makefile | 2 +- tools/tests/x86_emulator/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 | 5 +- xen/arch/x86/Makefile | 2 +- 70 files changed, 330 insertions(+), 383 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 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |