tools: revert to installing in /usr
PATCH 1/1 tools: revert to installing in /usr
26470:acaf29203cf9 missed a bunch of hardcoded paths, e.g. in the initscripts. I think at this juncture it is appropriate to revert this change and try again after some more testing.
--- configure | 2 ++ configure.ac | 1 + docs/configure | 2 ++ docs/configure.ac | 1 + stubdom/configure | 2 ++ stubdom/configure.ac | 1 + tools/configure | 2 ++ tools/configure.ac | 1 + 8 files changed, 12 insertions(+), 0 deletions(-)
configure +2 -0
@@ -557,6 +557,7 @@ PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='http://www.xen.org/' ac_unique_file="./xen/common/kernel.c" +ac_default_prefix=/usr enable_option_checking=no ac_subst_vars='LTLIBOBJS LIBOBJS
@@ -1685,6 +1686,7 @@ ac_config_files="$ac_config_files ./config/Toplevel.mk" + ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then
configure.ac +1 -0
@@ -6,6 +6,7 @@ AC_INIT([Xen Hypervisor], m4_esyscmd([./version.sh ./xen/Makefile]), [[email protected]], [xen], [http://www.xen.org/]) AC_CONFIG_SRCDIR([./xen/common/kernel.c]) AC_CONFIG_FILES([./config/Toplevel.mk]) +AC_PREFIX_DEFAULT([/usr]) m4_include([m4/features.m4]) m4_include([m4/subsystem.m4])
docs/configure +2 -0
@@ -557,6 +557,7 @@ PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='http://www.xen.org/' ac_unique_file="misc/xen-command-line.markdown" +ac_default_prefix=/usr ac_subst_vars='LTLIBOBJS LIBOBJS MARKDOWN
@@ -1663,6 +1664,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_config_files="$ac_config_files ../config/Docs.mk" + ac_aux_dir= for ac_dir in ../ "$srcdir"/../; do if test -f "$ac_dir/install-sh"; then
docs/configure.ac +1 -0
@@ -6,6 +6,7 @@ AC_INIT([Xen Hypervisor Documentation], m4_esyscmd([../version.sh ../xen/Makefil [[email protected]], [xen], [http://www.xen.org/]) AC_CONFIG_SRCDIR([misc/xen-command-line.markdown]) AC_CONFIG_FILES([../config/Docs.mk]) +AC_PREFIX_DEFAULT([/usr]) AC_CONFIG_AUX_DIR([../]) # M4 Macro includes
stubdom/configure +2 -0
@@ -557,6 +557,7 @@ PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='http://www.xen.org/' ac_unique_file="../extras/mini-os/kernel.c" +ac_default_prefix=/usr ac_subst_vars='LTLIBOBJS LIBOBJS STUBDOM_INSTALL
@@ -1791,6 +1792,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_config_files="$ac_config_files ../config/Stubdom.mk" + ac_aux_dir= for ac_dir in ../ "$srcdir"/../; do if test -f "$ac_dir/install-sh"; then
stubdom/configure.ac +1 -0
@@ -6,6 +6,7 @@ AC_INIT([Xen Hypervisor Stub Domains], m4_esyscmd([../version.sh ../xen/Makefile [[email protected]], [xen], [http://www.xen.org/]) AC_CONFIG_SRCDIR([../extras/mini-os/kernel.c]) AC_CONFIG_FILES([../config/Stubdom.mk]) +AC_PREFIX_DEFAULT([/usr]) AC_CONFIG_AUX_DIR([../]) # M4 Macro includes
tools/configure +2 -0
@@ -558,6 +558,7 @@ PACKAGE_BUGREPORT='[email protected]' PACKAGE_URL='http://www.xen.org/' ac_unique_file="libxl/libxl.c" +ac_default_prefix=/usr # Factoring default headers for most tests. ac_includes_default="\ #include <stdio.h>
@@ -2144,6 +2145,7 @@ ac_config_files="$ac_config_files ../config/Tools.mk" ac_config_headers="$ac_config_headers config.h" + ac_aux_dir= for ac_dir in ../ "$srcdir"/../; do if test -f "$ac_dir/install-sh"; then
tools/configure.ac +1 -0
@@ -7,6 +7,7 @@ AC_INIT([Xen Hypervisor Tools], m4_esyscmd([../version.sh ../xen/Makefile]), AC_CONFIG_SRCDIR([libxl/libxl.c]) AC_CONFIG_FILES([../config/Tools.mk]) AC_CONFIG_HEADERS([config.h]) +AC_PREFIX_DEFAULT([/usr]) AC_CONFIG_AUX_DIR([../]) # Check if CFLAGS, LDFLAGS, LIBS, CPPFLAGS or CPP is set and print a warning
Signature · 1 line
1.7.2.5
Quoted 3 lines · Ian Campbell
26470:acaf29203cf9 missed a bunch of hardcoded paths, e.g. in the initscripts. I think at this juncture it is appropriate to revert this change and try again after some more testing.
NetBSD doesn't seem to suffer from this issue, I usually install it in strange dirs under NetBSD and it is working fine.
Quoted 1 line
Signed-off-by Ian Campbell <[email protected]>
Quoted 7 lines · Roger Pau Monne
Quoted 3 lines · Ian Campbell
26470:acaf29203cf9 missed a bunch of hardcoded paths, e.g. in the initscripts. I think at this juncture it is appropriate to revert this change and try again after some more testing.
NetBSD doesn't seem to suffer from this issue, I usually install it in strange dirs under NetBSD and it is working fine.
Looks like e.g. NetBSDs rc.d scripts use ${SBINDIR} instead of hardcoded paths, but I can't find where that comes from under tools/hotplug/NetBSD, is it a NetBSD specific thing?
But at least this gives us some confidence that there aren't too many such issues in the tree.
Quoted 2 lines
Quoted 1 line
Signed-off-by Ian Campbell <[email protected]>Acked-by Roger Pau Monné <[email protected]>
Thanks.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Ian Campbell
AppliedQuoted 2 lines · Roger Pau Monne
Quoted 1 line
Signed-off-by Ian Campbell <[email protected]>Acked-by Roger Pau Monné <[email protected]>
Applied, thanks.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel