WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] xen Makefile being nasty with EXTRAVERSION

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen Makefile being nasty with EXTRAVERSION
From: Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Date: Sun, 24 Oct 2004 16:24:24 +0100
Cc: brianw@xxxxxxxxxxxx, Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>, Nuutti Kotivuori <naked@xxxxxx>, Xen Devel Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxxxx>, Steven.Hand@xxxxxxxxxxxx
Delivery-date: Sun, 24 Oct 2004 16:24:25 +0100
Envelope-to: Steven.Hand@xxxxxxxxxxxx
In-reply-to: Message from Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> of "Sat, 23 Oct 2004 19:20:52 BST." <E1CLQVY-0006XE-00@xxxxxxxxxxxxxxxxx>
>In fact, at least for the 2.6 tree, isn't creating a self-contained
>diff as simple as something like:
> tar xzf linux-2.6.8.1.tar.gz
> cp -a linux-2.6.8.1 linux-2.6.8.1-xen
> cd linux-2.6.8.1-xen-sparse
> for i in `find . -type f | grep -v SCCS` ; do \
>     cp $i ../linux-2.6.8.1-xen/$i ; done

Well instead of the find actually need something like: 

  tar cvf - --exclude SCCS --exclude mkbuildtree . | \ 
  tar -C../linux-2.6.8.1-xen -xvf - 

(to deal with non-existant directories in the desintation). 

> cd ..
> rm -f linux-2.6.8.1-xen/mkbuildtree
> cp -a xen/include/hypervisor-ifs linux-2.6.8.1-xen/include/asm-xen

And instead of the above can use: 

  cd ../xen/include 
  tar cvf - --exclude SCCS . | \ 
  tar -C../../linux-2.6.8.1-xen/include/asm-xen -xvf - 

which just ensures get rid of SCCS directories. 


> diff -urP linux-2.6.8.1 linux-2.6.8.1-xen >linux-2.6.8.1-xen-patch
>
>? :-)

Otherwise basically works; I've put a patch in this form on 

 http://www.cl.cam.ac.uk/~smh22/linux-2.6.8.1-xen-patch

in case anyone's interested. 

We should probably update the nightly build scripts to dump one of 
these on the standard download page... 

cheers,

S.