[Kernel-handbook-general] [PATCH] Update "Building a development version of the Debian kernel package" for conversion to git

Ben Hutchings ben at decadent.org.uk
Tue Aug 11 20:49:28 UTC 2015


---
 chapter-common-tasks.sgml | 7 ++++---
 debian/changelog          | 2 ++
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/chapter-common-tasks.sgml b/chapter-common-tasks.sgml
index 78ca1a6..487d844 100644
--- a/chapter-common-tasks.sgml
+++ b/chapter-common-tasks.sgml
@@ -203,19 +203,20 @@ $ fakeroot make -f debian/rules.gen binary-arch_i386_none_real
 	  To build a kernel image based on the kernel team's
 	  unreleased development version:
 	  <taglist>
-	    <tag><tt># apt-get install build-essential fakeroot rsync svn</tt></tag>
+	    <tag><tt># apt-get install build-essential fakeroot rsync git</tt></tag>
 	    <tag><tt># apt-get build-dep linux</tt></tag>
 	    <item>
 	      The last two commands will install the build
 	      dependencies required by the kernel build process.
 	    </item>
-	    <tag><tt>$ svn co svn://anonscm.debian.org/svn/kernel/dists/<em>dist</em>/linux</tt></tag>
+	    <tag><tt>$ git clone -b <em>dist</em> --single-branch https://anonscm.debian.org/git/kernel/linux.git</tt></tag>;
 	    <item>
 	      This will check out the Debian packaging.  <em>dist</em>
 	      is normally the distribution codename such as
               <tt>wheezy</tt> or <tt>sid</tt> (unstable).  For the very
 	      latest version, usually based on an upstream release
-	      candidate, use <tt>trunk</tt>.
+	      candidate, use <tt>master</tt>.  Note that this will
+	      download several hundred megabytes of data.
 	    </item>
 	    <tag><tt>$ apt-get source -d linux</tt></tag>
 	    <item>
diff --git a/debian/changelog b/debian/changelog
index 431f738..21ebe62 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ kernel-handbook (1.0.16) UNRELEASED; urgency=low
 
   [ Ben Hutchings ]
   * Correct order of preparation for rebuilding official Debian kernel packages
+  * Update "Building a development version of the Debian kernel package" for
+    conversion to git
 
   [ Ian Campbell ]
   * Mention unifdef as a dependency for genorig
-- 
Ben Hutchings
Theory and practice are closer in theory than in practice.
                                - John Levine, moderator of comp.compilers

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/kernel-handbook-general/attachments/20150811/9b60394f/attachment.sig>


More information about the Kernel-handbook-general mailing list