![]() ![]() tar.bz2, where x.y.z is the version of that particular release of the kernel source. The Linux kernel tarball in bzip2 format is named linux- x. Bzip2 is the default and preferred format because it generally compresses quite a bit better than gzip. The kernel tarball is distributed in both GNU zip (gzip) and bzip2 format. ![]() To commit and manage your own changes, see Chapter 20, "Patches, Hacking, and the Community." A complete discussion of Git is outside the scope of this book many online resources provide excellent guides. With these two commands, you can obtain and subsequently keep up to date with the official kernel tree. When checked out, you can update your tree to Linus's latest: $ git pull You can use Git to obtain a copy of the latest "pushed" version of Linus's tree: $ git clone git:///pub/scm/linux/kernel/git/torvalds/linux-2.6.git I strongly recommend using Git to download and manage the Linux kernel source. Unlike traditional systems such as CVS, Git is distributed, and its usage and workflow is consequently unfamiliar to many developers. Linus created this system, called Git, with speed in mind. Over the last couple of years, the kernel hackers, led by Linus himself, have begun using a new version control system to manage the Linux kernel source. The repository at is the place to get it, along with additional patches from a number of leading kernel developers. Unless you have a specific reason to work with an older version of the Linux source, you always want the latest code. The current Linux source code is always available in both a complete tarball (an archive created with the tar command) and an incremental patch from the official home of the Linux kernel. Although the kernel certainly is unique in many ways, at the end of the day it is little different from any other large software project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |