On Wed, 2013-12-11 at 15:05 +0000, Ben Hutchings wrote:
> 
> Installing the package is a one-time command, so I think it belongs
> further up this section. 

Like this?

-------8>-------------

From 341e4d67bba34cc91e2829cb96e310bff3f44e38 Mon Sep 17 00:00:00 2001
From: Ian Campbell <[email protected]>
Date: Fri, 6 Dec 2013 08:37:51 +0000
Subject: [PATCH] Mention unifdef as a dependency for genorig

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

diff --git a/chapter-common-tasks.sgml b/chapter-common-tasks.sgml
index 18ab1ac..d2b5a66 100644
--- a/chapter-common-tasks.sgml
+++ b/chapter-common-tasks.sgml
@@ -260,14 +260,20 @@ $ fakeroot make -f debian/rules.gen 
binary-arch_i386_none_real
        <p>
          The 'orig' tarball is generated by the <tt>genorig.py</tt>
          script.  It takes either a tarball and optional patch from
-         kernel.org, or a git repository.  If you have a tarball, run
-         a command such as:
+         kernel.org, or a git repository.  First ensure you have the
+         necessary tools installed:
+         <example>
+# apt-get install unifdef
+         </example>
+       </p>
+       <p>
+         Then if you have a tarball, run a command such as:
          <example>
 $ python debian/bin/genorig.py ../linux-3.4.tar.bz2 ../patch-3.5-rc1.bz2
          </example>
        </p>
        <p>
-         If you have a git repository, pass the name of its
+         Or if you have a git repository, pass the name of its
          directory:
          <example>
 $ python debian/bin/genorig.py ~/src/linux
diff --git a/debian/changelog b/debian/changelog
index 0fb4480..431f738 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,9 @@ kernel-handbook (1.0.16) UNRELEASED; urgency=low
   [ Ben Hutchings ]
   * Correct order of preparation for rebuilding official Debian kernel packages
 
+  [ Ian Campbell ]
+  * Mention unifdef as a dependency for genorig
+
  -- Uwe Kleine-König <[email protected]>  Thu, 08 Nov 2012 09:16:12 +0100
 
 kernel-handbook (1.0.15) unstable; urgency=low
-- 
1.8.4.rc3


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to