From: Steven Hand Subject: Re: xen Makefile being nasty with EXTRAVERSION Date: Sun, 24 Oct 2004 16:24:24 +0100 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: References: Return-path: In-Reply-To: Message from Keir Fraser of "Sat, 23 Oct 2004 19:20:52 BST." Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Keir Fraser Cc: brianw@terrabox.com, Ian Pratt , Nuutti Kotivuori , Xen Devel Mailing List , Steven.Hand@cl.cam.ac.uk List-Id: xen-devel@lists.xenproject.org >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. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl