[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] tools+stubdom: install under /usr/local by default.


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Mon, 04 Feb 2013 15:44:23 +0000
  • Delivery-date: Mon, 04 Feb 2013 15:44:51 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1359031674 0
# Node ID acaf29203cf95c2a2fb01303db68206daae8c8d7
# Parent  a162a72e719a85799e3b08f52af7bb2147a407b8
tools+stubdom: install under /usr/local by default.

This is the defacto (or FHS mandated?) standard location for software
built from source, in order to avoid clashing with packaged software
which is installed under /usr/bin etc.

I think there is benefit in having Xen's install behave more like the
majority of other OSS software out there.

The major downside here is in the transition from 4.2 to 4.3 where
people who have built from source will innevitably discover breakage
because 4.3 no longer overwrites stuff in /usr like it used to so they
pickup old stale bits from /usr instead of new stuff from /usr/local.

Packages will use ./configure --prefix=/usr or whatever helper macro
their package manager gives them. I have confirmed that doing this
results in the same list of installed files as before this patch was
applied.

The hypervisor remains in /boot/ and there is no intention to move it.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
Acked-by: Matt Wilson <msw@xxxxxxxxxx>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---


diff -r a162a72e719a -r acaf29203cf9 configure
--- a/configure Thu Jan 24 12:47:53 2013 +0000
+++ b/configure Thu Jan 24 12:47:54 2013 +0000
@@ -557,7 +557,6 @@ PACKAGE_BUGREPORT='xen-devel@xxxxxxxxxxx
 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
@@ -1669,7 +1668,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
-
 ac_config_files="$ac_config_files ./config/Toplevel.mk"
 
 
diff -r a162a72e719a -r acaf29203cf9 configure.ac
--- a/configure.ac      Thu Jan 24 12:47:53 2013 +0000
+++ b/configure.ac      Thu Jan 24 12:47:54 2013 +0000
@@ -5,7 +5,6 @@ AC_PREREQ([2.67])
 AC_INIT([Xen Hypervisor], m4_esyscmd([./version.sh ./xen/Makefile]),
     [xen-devel@xxxxxxxxxxxxx], [xen], [http://www.xen.org/])
 AC_CONFIG_SRCDIR([./xen/common/kernel.c])
-AC_PREFIX_DEFAULT([/usr])
 AC_CONFIG_FILES([./config/Toplevel.mk])
 
 m4_include([m4/features.m4])
diff -r a162a72e719a -r acaf29203cf9 stubdom/configure
--- a/stubdom/configure Thu Jan 24 12:47:53 2013 +0000
+++ b/stubdom/configure Thu Jan 24 12:47:54 2013 +0000
@@ -557,7 +557,6 @@ PACKAGE_BUGREPORT='xen-devel@xxxxxxxxxxx
 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
@@ -1792,7 +1791,6 @@ 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 -r a162a72e719a -r acaf29203cf9 stubdom/configure.ac
--- a/stubdom/configure.ac      Thu Jan 24 12:47:53 2013 +0000
+++ b/stubdom/configure.ac      Thu Jan 24 12:47:54 2013 +0000
@@ -6,7 +6,6 @@ AC_INIT([Xen Hypervisor Stub Domains], m
     [xen-devel@xxxxxxxxxxxxx], [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 -r a162a72e719a -r acaf29203cf9 tools/configure
--- a/tools/configure   Thu Jan 24 12:47:53 2013 +0000
+++ b/tools/configure   Thu Jan 24 12:47:54 2013 +0000
@@ -558,7 +558,6 @@ PACKAGE_BUGREPORT='xen-devel@xxxxxxxxxxx
 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>
@@ -2145,7 +2144,6 @@ ac_config_files="$ac_config_files ../con
 
 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 -r a162a72e719a -r acaf29203cf9 tools/configure.ac
--- a/tools/configure.ac        Thu Jan 24 12:47:53 2013 +0000
+++ b/tools/configure.ac        Thu Jan 24 12:47:54 2013 +0000
@@ -7,7 +7,6 @@ AC_INIT([Xen Hypervisor Tools], m4_esysc
 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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.