Re: How to get kernel source release from git tree?

Erik Mouw
2006-06-20T16:16:24Z

On Tue, Jun 20, 2006 at 01:09:31PM +0800, Walkinair wrote:
> Hi, this may be a stupid question, sorry for this.
>
> I have kenel 2.6 git tree in my local box, usually through the following
> steps I get source release,
> 1. copy git repository to a new directory.
> 2. rm .git directory.
> 3. make config; make; make modules_install; make install
>
> I there any convinient git command or other ways to get kernel release
> from git repository?

What about this?

git tar-tree v2.6.17 linux-2.6.17 | ( cd .. ; tar xpf - )

Erik

--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands