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

Re: [Xen-devel] [PATCH v8] build: add autoconf to replace custom checks in tools/check



2012/2/28 Jeffrey Karrels <karrelsj@xxxxxxxxx>:
>>Added autotools magic to replace custom check scripts
>
> Let me start over on this one... ÂWhat is the install methodology with
> the replacement of the custom checks with "autotools magic?" I am
> working on a dist build and realized that the dist build goes over and
> grabs the checks out of the tools directory to check the installation.
> ÂSo if I were to:
>
> #hg clone -r 24869 http://xenbits.xen.org/hg/xen-unstable.hg
> #cd xen-unstable
> #./configure
> #make dist
> #tar cvfz something.tar.gz dist
> #scp something.tar.gz xen@newhost:/temp
> #ssh xen@newhost
> #....
> #./install.sh
> ...
> Checking to see whether prerequisite tools are installed...
> ./install.sh: line 53: cd: ./install/../check: No such file or directory
> ./install.sh: line 54: ./chk: No such file or directory
> All done.

This should fix it (I haven't tested):

8<--------------------------------------------

install: remove old checks from install.sh

Signed-off-by: Roger Pau Monne <roger.pau@xxxxxxxxxxxxx>

diff -r e1fdc5509bb4 install.sh
--- a/install.sh        Wed Feb 22 04:15:34 2012 +0100
+++ b/install.sh        Wed Feb 22 04:46:07 2012 +0100
@@ -49,9 +49,4 @@ rm -rf "$tmp"

 echo "All done."

-echo "Checking to see whether prerequisite tools are installed..."
-cd $src/../check
-./chk install
-echo "All done."
-
 exit 0

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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