* [PATCH] tools: revert to installing in /usr
@ 2013-01-28 10:26 Ian Campbell
2013-01-28 15:03 ` Roger Pau Monné
0 siblings, 1 reply; 4+ messages in thread
From: Ian Campbell @ 2013-01-28 10:26 UTC (permalink / raw)
To: xen-devel; +Cc: 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.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
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(-)
diff --git a/configure b/configure
index cbc38ba..c2ec87d 100755
--- a/configure
+++ b/configure
@@ -557,6 +557,7 @@ PACKAGE_BUGREPORT='xen-devel@lists.xen.org'
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
diff --git a/configure.ac b/configure.ac
index b17e671..df1d5da 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,6 +6,7 @@ AC_INIT([Xen Hypervisor], m4_esyscmd([./version.sh ./xen/Makefile]),
[xen-devel@lists.xen.org], [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])
diff --git a/docs/configure b/docs/configure
index d623d19..be4934d 100755
--- a/docs/configure
+++ b/docs/configure
@@ -557,6 +557,7 @@ PACKAGE_BUGREPORT='xen-devel@lists.xen.org'
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
diff --git a/docs/configure.ac b/docs/configure.ac
index ea0552e..5c3f5e8 100644
--- a/docs/configure.ac
+++ b/docs/configure.ac
@@ -6,6 +6,7 @@ AC_INIT([Xen Hypervisor Documentation], m4_esyscmd([../version.sh ../xen/Makefil
[xen-devel@lists.xen.org], [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
diff --git a/stubdom/configure b/stubdom/configure
index 51ca676..ab9219a 100755
--- a/stubdom/configure
+++ b/stubdom/configure
@@ -557,6 +557,7 @@ PACKAGE_BUGREPORT='xen-devel@lists.xen.org'
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
diff --git a/stubdom/configure.ac b/stubdom/configure.ac
index de29fb5..2b7b275 100644
--- a/stubdom/configure.ac
+++ b/stubdom/configure.ac
@@ -6,6 +6,7 @@ AC_INIT([Xen Hypervisor Stub Domains], m4_esyscmd([../version.sh ../xen/Makefile
[xen-devel@lists.xen.org], [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
diff --git a/tools/configure b/tools/configure
index 1f33858..898dd17 100755
--- a/tools/configure
+++ b/tools/configure
@@ -558,6 +558,7 @@ PACKAGE_BUGREPORT='xen-devel@lists.xen.org'
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
diff --git a/tools/configure.ac b/tools/configure.ac
index 4411f63..2bd71b6 100644
--- a/tools/configure.ac
+++ b/tools/configure.ac
@@ -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
--
1.7.2.5
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] tools: revert to installing in /usr
2013-01-28 10:26 [PATCH] tools: revert to installing in /usr Ian Campbell
@ 2013-01-28 15:03 ` Roger Pau Monné
2013-01-28 15:10 ` Ian Campbell
2013-01-28 16:49 ` Ian Campbell
0 siblings, 2 replies; 4+ messages in thread
From: Roger Pau Monné @ 2013-01-28 15:03 UTC (permalink / raw)
To: Ian Campbell; +Cc: xen-devel@lists.xen.org
On 28/01/13 10:26, Ian Campbell wrote:
> 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.
> Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] tools: revert to installing in /usr
2013-01-28 15:03 ` Roger Pau Monné
@ 2013-01-28 15:10 ` Ian Campbell
2013-01-28 16:49 ` Ian Campbell
1 sibling, 0 replies; 4+ messages in thread
From: Ian Campbell @ 2013-01-28 15:10 UTC (permalink / raw)
To: Roger Pau Monne; +Cc: xen-devel@lists.xen.org
On Mon, 2013-01-28 at 15:03 +0000, Roger Pau Monne wrote:
> On 28/01/13 10:26, Ian Campbell wrote:
> > 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.
> > Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
> Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Thanks.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] tools: revert to installing in /usr
2013-01-28 15:03 ` Roger Pau Monné
2013-01-28 15:10 ` Ian Campbell
@ 2013-01-28 16:49 ` Ian Campbell
1 sibling, 0 replies; 4+ messages in thread
From: Ian Campbell @ 2013-01-28 16:49 UTC (permalink / raw)
To: Roger Pau Monne; +Cc: xen-devel@lists.xen.org
On Mon, 2013-01-28 at 15:03 +0000, Roger Pau Monne wrote:
> > Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
> Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Applied, thanks.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-01-28 16:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-28 10:26 [PATCH] tools: revert to installing in /usr Ian Campbell
2013-01-28 15:03 ` Roger Pau Monné
2013-01-28 15:10 ` Ian Campbell
2013-01-28 16:49 ` Ian Campbell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.