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: Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen Makefile being nasty with EXTRAVERSION
From: Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Date: Sun, 24 Oct 2004 16:25:54 +0100
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, 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:25:54 +0100
Envelope-to: Steven.Hand@xxxxxxxxxxxx
In-reply-to: Message from Steven Hand <Steven.Hand@xxxxxxxxxxxx> of "Sun, 24 Oct 2004 16:24:24 BST." <E1CLkEL-0002tT-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 . | \ 
^^^^ 

This should of course be 

  tar cvf - --exclude SCCS hypervisor-ifs | \ 

:-)