From: Steven Hand Subject: Re: xen Makefile being nasty with EXTRAVERSION Date: Sun, 24 Oct 2004 16:25:54 +0100 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: References: Return-path: In-Reply-To: Message from Steven Hand of "Sun, 24 Oct 2004 16:24:24 BST." Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: Cc: Keir Fraser , 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 . | \ ^^^^ This should of course be tar cvf - --exclude SCCS hypervisor-ifs | \ :-) ------------------------------------------------------- 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