Skip to contentSkip to conversation

How to get kernel source release from git tree?

DISCUSSION Walkinair 4 participants 4 messages Jun 20, 2006

lore
Share & tools
lore

Walkinair

author
#0 lore raw

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?

#1 lore raw
Followup to:  <[email protected]>
By author:    Walkinair <[email protected]>
In newsgroup: linux.dev.kernel
Quoted 12 lines

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?

If you have Cogito installed, use cg-export.

-hpa

#2 lore raw
Quoted 17 lines · H. Peter Anvin
Followup to:  <[email protected]>
By author:    Walkinair <[email protected]>
In newsgroup: linux.dev.kernel
Quoted 11 lines

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?

Quoted 11 lines

If you have Cogito installed, use cg-export.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Thank you, cg-export works.

#3 lore raw
In reply to Walkinair
Quoted 10 lines · Walkinair

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

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