[Kernel-handbook-general] building 2.6.26 kernel source fails on squeeze

Faheem Mitha faheem at email.unc.edu
Wed May 4 20:23:19 UTC 2011



On Sat, 30 Apr 2011, Ben Hutchings wrote:

> On Sun, 2011-05-01 at 01:52 +0530, Faheem Mitha wrote:

>> Yes, I saw that when I checked your svn repos. You forgot (or
>> intentionally omitted, but if so, said nothing) to add the bit about the
>> linux-headers-common to 4.2. See the relevant portion of my patch below.

> I did indeed forget that.  Thanks for reminding me.

Ok. See patch against current svn sources attached, and also included 
below.

> It's probably best to mail both lists for now.

Noted.
                                 Regards, Faheem

diff -r 8b4d248d871d chapter-common-tasks.sgml
--- a/chapter-common-tasks.sgml	Thu May 05 01:07:52 2011 +0530
+++ b/chapter-common-tasks.sgml	Thu May 05 01:49:03 2011 +0530
@@ -176,7 +176,16 @@
  	    <tt><em>target</em>_<em>arch</em>_<em>featureset</em>_<em>flavour</em></tt>.
  	    Replace the <tt><em>featureset</em></tt> with
  	    <tt>none</tt> if you do not want any of the extra
-	    featuresets.
+	    featuresets. This command will build the linux image and
+	    kernel headers packages. You will also need
+	    the <tt>linux-headers-<em>version</em>-common</tt> binary
+	    package, which can be built using the commands:
+	    <example>
+	      $ fakeroot debian/rules source
+	      $ fakeroot make -f debian/rules.gen binary-arch_i386_none_real
+            </example>
+            The target in this command has the general form of
+	    <tt><em>target</em>_<em>arch</em>_<em>featureset</em>_<em>real</em></tt>
  	  </p>
  	</sect1>
        </sect>
-------------- next part --------------
diff -r 8b4d248d871d chapter-common-tasks.sgml
--- a/chapter-common-tasks.sgml	Thu May 05 01:07:52 2011 +0530
+++ b/chapter-common-tasks.sgml	Thu May 05 01:49:03 2011 +0530
@@ -176,7 +176,16 @@
 	    <tt><em>target</em>_<em>arch</em>_<em>featureset</em>_<em>flavour</em></tt>.
 	    Replace the <tt><em>featureset</em></tt> with
 	    <tt>none</tt> if you do not want any of the extra
-	    featuresets.
+	    featuresets. This command will build the linux image and
+	    kernel headers packages. You will also need
+	    the <tt>linux-headers-<em>version</em>-common</tt> binary
+	    package, which can be built using the commands:
+	    <example>
+	      $ fakeroot debian/rules source
+	      $ fakeroot make -f debian/rules.gen binary-arch_i386_none_real
+            </example>
+            The target in this command has the general form of
+	    <tt><em>target</em>_<em>arch</em>_<em>featureset</em>_<em>real</em></tt>
 	  </p>
 	</sect1>
       </sect>


More information about the Kernel-handbook-general mailing list