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

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



>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.




 


Rackspace

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