* [v3.0-rc2] Creating an archive-tarball from linux-2.6 GIT repository
@ 2011-06-07 12:14 Sedat Dilek
2011-06-07 12:56 ` richard -rw- weinberger
0 siblings, 1 reply; 4+ messages in thread
From: Sedat Dilek @ 2011-06-07 12:14 UTC (permalink / raw)
To: LKML
Hi,
as the official tarballs still missing, here some instructions to
archive a tarball from GIT repository.
[ Checkout linux-2.6 (aka linux-3.0) ]
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
( NOTE: Users from EU zone: Use <git.us.kernel.org>... it's faster for
checkouts. )
cd linux-2.6
[ gzip ]
git archive --format=tar --prefix=linux-3.0-rc2/ v3.0-rc2 | gzip -9c >
../linux-3.0-rc2.tar.gz
[ bzip2 ]
git archive --format=tar --prefix=linux-3.0-rc2/ v3.0-rc2 | bzip2 -9c
> ../linux-3.0-rc2.tar.bz2
[ xz ]
git archive --format=tar --prefix=linux-3.0-rc2/ v3.0-rc2 | xz -9c >
../linux-3.0-rc2.tar.xz
A good compromise between decompression-speed and file-size is:
[ xz -2e ]
git archive --format=tar --prefix=linux-3.0-rc2/ v3.0-rc2 | xz -2ec >
../linux-3.0-rc2.tar.xz-2e
[ Filesizes ]
$ du -h linux-3.0-rc2.tar.*
74M linux-3.0-rc2.tar.bz2
93M linux-3.0-rc2.tar.gz
61M linux-3.0-rc2.tar.xz
65M linux-3.0-rc2.tar.xz-2e
Thanks to friends from #quassel.de (git archive) and #mirbsd (xz -2e)
for the hints.
Thanks to Linus for not providing tarballs...
As I used to say... Still learning from git usecase to git usecase.
- Sedat -
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [v3.0-rc2] Creating an archive-tarball from linux-2.6 GIT repository
2011-06-07 12:14 [v3.0-rc2] Creating an archive-tarball from linux-2.6 GIT repository Sedat Dilek
@ 2011-06-07 12:56 ` richard -rw- weinberger
2011-06-07 13:09 ` Sedat Dilek
0 siblings, 1 reply; 4+ messages in thread
From: richard -rw- weinberger @ 2011-06-07 12:56 UTC (permalink / raw)
To: sedat.dilek; +Cc: LKML
On Tue, Jun 7, 2011 at 2:14 PM, Sedat Dilek <sedat.dilek@googlemail.com> wrote:
> Thanks to Linus for not providing tarballs...
Read: https://lkml.org/lkml/2011/6/6/235
--
Thanks,
//richard
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [v3.0-rc2] Creating an archive-tarball from linux-2.6 GIT repository
2011-06-07 12:56 ` richard -rw- weinberger
@ 2011-06-07 13:09 ` Sedat Dilek
2011-06-07 13:12 ` richard -rw- weinberger
0 siblings, 1 reply; 4+ messages in thread
From: Sedat Dilek @ 2011-06-07 13:09 UTC (permalink / raw)
To: richard -rw- weinberger; +Cc: LKML
On Tue, Jun 7, 2011 at 2:56 PM, richard -rw- weinberger
<richard.weinberger@gmail.com> wrote:
> On Tue, Jun 7, 2011 at 2:14 PM, Sedat Dilek <sedat.dilek@googlemail.com> wrote:
>> Thanks to Linus for not providing tarballs...
>
> Read: https://lkml.org/lkml/2011/6/6/235
>
I know he is travelling, in my words there is no sarcasm BTW.
...was a nice short trip with git-archive and currently playing with
XZs compression-levels and decompression-speed.
- Sedat -
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [v3.0-rc2] Creating an archive-tarball from linux-2.6 GIT repository
2011-06-07 13:09 ` Sedat Dilek
@ 2011-06-07 13:12 ` richard -rw- weinberger
0 siblings, 0 replies; 4+ messages in thread
From: richard -rw- weinberger @ 2011-06-07 13:12 UTC (permalink / raw)
To: sedat.dilek; +Cc: LKML
On Tue, Jun 7, 2011 at 3:09 PM, Sedat Dilek <sedat.dilek@googlemail.com> wrote:
>
> I know he is travelling, in my words there is no sarcasm BTW.
> ...was a nice short trip with git-archive and currently playing with
> XZs compression-levels and decompression-speed.
>
Ok, please tell us when you find another nice git command. ;-)
--
Thanks,
//richard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-06-07 13:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-07 12:14 [v3.0-rc2] Creating an archive-tarball from linux-2.6 GIT repository Sedat Dilek
2011-06-07 12:56 ` richard -rw- weinberger
2011-06-07 13:09 ` Sedat Dilek
2011-06-07 13:12 ` richard -rw- weinberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®